Skip to content

Commit

Permalink
Fix implict null
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Sep 24, 2024
1 parent d45ddaa commit fd187f0
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 @@ -95,7 +95,7 @@ class SourceQuery
*/
private bool $UseOldGetChallengeMethod = false;

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

0 comments on commit fd187f0

Please sign in to comment.