diff --git a/src/Http/Response.php b/src/Http/Response.php index ced15fa6..5a9d7f7e 100644 --- a/src/Http/Response.php +++ b/src/Http/Response.php @@ -62,7 +62,7 @@ public function toArray() * * @return bool */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->data->{$offset}); } @@ -74,7 +74,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { $data = $this->toArray(); @@ -87,7 +87,7 @@ public function offsetGet($offset) * @param mixed $offset * @param mixed $value */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { $this->data->{$offset} = $value; } @@ -97,7 +97,7 @@ public function offsetSet($offset, $value) * * @param mixed $offset */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->data->{$offset}); }