Skip to content

Commit cc216b5

Browse files
committed
int port null default value
1 parent 72657ab commit cc216b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/URI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ public function setHost(string $str)
633633
*
634634
* @return $this
635635
*/
636-
public function setPort($port)
636+
public function setPort(int $port = null)
637637
{
638638
if (is_null($port))
639639
{

0 commit comments

Comments
 (0)