Skip to content

Commit

Permalink
update psr
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayIterator committed Oct 16, 2023
1 parent 5251658 commit 0530d8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Http/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function withMethod($method) : static
return $obj;
}

public function getUri()
public function getUri(): UriInterface
{
return $this->uri;
}
Expand Down

0 comments on commit 0530d8b

Please sign in to comment.