Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit e31d754

Browse files
authored
Fixed CS
1 parent 2f89d82 commit e31d754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

QuietFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Knp\Menu\Factory\ExtensionInterface;
1515
use Knp\Menu\FactoryInterface;
16-
use LogicException;
1716
use Psr\Log\LoggerInterface;
1817
use Symfony\Component\Routing\Exception\RouteNotFoundException;
1918

@@ -88,11 +87,12 @@ public function createItem($name, array $options = array())
8887
public function addExtension(ExtensionInterface $extension, $priority = 0)
8988
{
9089
if (!method_exists($this->innerFactory, 'addExtension')) {
91-
throw new LogicException(sprintf(
90+
throw new \LogicException(sprintf(
9291
'Wrapped factory "%s" does not have the method "addExtension".',
9392
get_class($this->innerFactory)
9493
));
9594
}
95+
9696
$this->innerFactory->addExtension($extension, $priority);
9797
}
9898
}

0 commit comments

Comments
 (0)