We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a7fcc commit ab7374cCopy full SHA for ab7374c
src/packstream/Bytes.php
@@ -31,15 +31,15 @@ public function offsetGet($offset): ?string
31
return $this->bytes[$offset] ?? null;
32
}
33
34
- public function offsetSet($offset, $value)
+ public function offsetSet($offset, $value): void
35
{
36
if ($offset === null)
37
$this->bytes[] = $value;
38
else
39
$this->bytes[$offset] = $value;
40
41
42
- public function offsetUnset($offset)
+ public function offsetUnset($offset): void
43
44
unset($this->bytes[$offset]);
45
0 commit comments