Skip to content

Commit b28b031

Browse files
authored
Fix: TypeError & warnings (#4)
* Fix: TypeError & warnings * Fix: TypeError & warnings
1 parent 774a9f5 commit b28b031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class_map/ThriftUdpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ThriftUdpTransport extends TTransport
3333
public function __construct(
3434
private string $host,
3535
private int $port,
36-
private LoggerInterface $logger = null
36+
private ?LoggerInterface $logger = null
3737
) {
3838
$this->logger = $logger ?? new NullLogger();
3939
}

0 commit comments

Comments
 (0)