Skip to content

Commit 6ae06cd

Browse files
author
Aleksandr Golouz
committed
Added a string typehint for the $requestTarget argument
1 parent f84c2d7 commit 6ae06cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RequestInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ public function getRequestTarget();
5757
*
5858
* @link http://tools.ietf.org/html/rfc7230#section-5.3 (for the various
5959
* request-target forms allowed in request messages)
60-
* @param mixed $requestTarget
60+
* @param string $requestTarget
6161
* @return static
6262
*/
63-
public function withRequestTarget($requestTarget);
63+
public function withRequestTarget(string $requestTarget);
6464

6565
/**
6666
* Retrieves the HTTP method of the request.

0 commit comments

Comments
 (0)