Skip to content

Commit

Permalink
Use null coalese
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Sep 24, 2024
1 parent a161fec commit 8b16be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SourceQuery/SourceQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class SourceQuery

public function __construct( ?BaseSocket $Socket = null )
{
$this->Socket = $Socket ?: new Socket( );
$this->Socket = $Socket ?? new Socket( );
}

public function __destruct( )
Expand Down

0 comments on commit 8b16be3

Please sign in to comment.