diff --git a/src/Http/Message.php b/src/Http/Message.php index 63782bd..c806110 100644 --- a/src/Http/Message.php +++ b/src/Http/Message.php @@ -144,7 +144,7 @@ public function hasHeader($name) : bool return isset($this->headerNames[strtolower($name)]); } - public function getHeader($name) + public function getHeader($name) : array { $header = strtolower($name); diff --git a/src/Http/Request.php b/src/Http/Request.php index fc7817f..0a7d1c8 100644 --- a/src/Http/Request.php +++ b/src/Http/Request.php @@ -111,7 +111,7 @@ public function withMethod($method) : static return $obj; } - public function getUri() + public function getUri(): UriInterface { return $this->uri; }