Skip to content

Commit

Permalink
Fix: TypeError & warnings (#4)
Browse files Browse the repository at this point in the history
* Fix: TypeError & warnings

* Fix: TypeError & warnings
  • Loading branch information
celosauro authored Sep 19, 2023
1 parent 774a9f5 commit b28b031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class_map/ThriftUdpTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ThriftUdpTransport extends TTransport
public function __construct(
private string $host,
private int $port,
private LoggerInterface $logger = null
private ?LoggerInterface $logger = null
) {
$this->logger = $logger ?? new NullLogger();
}
Expand Down

0 comments on commit b28b031

Please sign in to comment.