Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit c6a0127

Browse files
mtagliabmichalbundyra
authored andcommitted
Removed strict compare
1 parent 9055a4c commit c6a0127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Uri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public function parse($uri)
308308

309309
// If authority ends with colon, port will be empty string.
310310
// Remove the colon from authority, but keeps port null
311-
if ($port && $port !== '') {
311+
if ($port) {
312312
$this->setPort((int) $port);
313313
}
314314

0 commit comments

Comments
 (0)