Skip to content

Commit 4bb7a53

Browse files
committed
cs
1 parent 43c26b9 commit 4bb7a53

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Http/Url.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,7 @@ public function setPort(int $value)
222222
*/
223223
public function getPort(): ?int
224224
{
225-
return $this->port
226-
? $this->port
227-
: (self::$defaultPorts[$this->scheme] ?? null);
225+
return $this->port ?: (self::$defaultPorts[$this->scheme] ?? null);
228226
}
229227

230228

0 commit comments

Comments
 (0)