Skip to content

Commit b138242

Browse files
committed
📦 Fix phpstan issues with symfony/http-kernel v7
1 parent afb902d commit b138242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GraphQLiteBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ public function build(ContainerBuilder $container): void
2121
$container->addCompilerPass(new OverblogGraphiQLEndpointWiringPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -1);
2222
}
2323

24-
public function getContainerExtension(): ?ExtensionInterface
24+
public function getContainerExtension(): ExtensionInterface
2525
{
26-
if (null === $this->extension) {
26+
if (null === $this->extension || false === $this->extension) {
2727
$this->extension = new GraphQLiteExtension();
2828
}
2929

0 commit comments

Comments
 (0)