Skip to content

Commit

Permalink
Added a string typehint for the $requestTarget argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Golouz committed Feb 25, 2023
1 parent f84c2d7 commit 6ae06cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RequestInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public function getRequestTarget();
*
* @link http://tools.ietf.org/html/rfc7230#section-5.3 (for the various
* request-target forms allowed in request messages)
* @param mixed $requestTarget
* @param string $requestTarget
* @return static
*/
public function withRequestTarget($requestTarget);
public function withRequestTarget(string $requestTarget);

/**
* Retrieves the HTTP method of the request.
Expand Down

0 comments on commit 6ae06cd

Please # to comment.