Skip to content

Commit ac2460e

Browse files
committed
Sync with php-fig/fig-standards#460 and clarify that an empty path should be returned as "/".
1 parent db70d8c commit ac2460e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UriInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function getPort();
9999
* Retrieve the path segment of the URI.
100100
*
101101
* This method MUST return a string; if no path is present it MUST return
102-
* an empty string.
102+
* the string "/".
103103
*
104104
* @return string The path segment of the URI.
105105
*/

0 commit comments

Comments
 (0)