Skip to content

Commit 91ef215

Browse files
committed
Add property type.
1 parent ce57d91 commit 91ef215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Psr/Log/LoggerAwareTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trait LoggerAwareTrait
1212
*
1313
* @var LoggerInterface|null
1414
*/
15-
protected $logger;
15+
protected ?LoggerInterface $logger = null;
1616

1717
/**
1818
* Sets a logger.

0 commit comments

Comments
 (0)