Skip to content

Commit 8b16be3

Browse files
committed
Use null coalese
1 parent a161fec commit 8b16be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SourceQuery/SourceQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class SourceQuery
9797

9898
public function __construct( ?BaseSocket $Socket = null )
9999
{
100-
$this->Socket = $Socket ?: new Socket( );
100+
$this->Socket = $Socket ?? new Socket( );
101101
}
102102

103103
public function __destruct( )

0 commit comments

Comments
 (0)