We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f7ef9f commit 1f4b3b3Copy full SHA for 1f4b3b3
src/Builder/ConditionalLookup.php
@@ -7,7 +7,6 @@
7
use Kiboko\Contract\Configurator\StepBuilderInterface;
8
use Kiboko\Contract\Mapping\CompiledMapperInterface;
9
use PhpParser\Node;
10
-use Psr\Log\LoggerInterface;
11
use Psr\Log\NullLogger;
12
13
final class ConditionalLookup implements StepBuilderInterface
@@ -188,7 +187,8 @@ class: new Node\Name\FullyQualified(NullLogger::class)
188
187
default: new Node\Expr\ConstFetch(
189
name: new Node\Name(name: 'null'),
190
),
191
- type: new Node\Name\FullyQualified(LoggerInterface::class)
+ type: new Node\NullableType(\Psr\Log\LoggerInterface::class),
+ flags: Node\Stmt\Class_::MODIFIER_PRIVATE
192
193
],
194
0 commit comments