Skip to content

Commit e3ece82

Browse files
committed
Ashamed to commit a namespace fix...
1 parent df13b70 commit e3ece82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Admin/Extension/FrontendLinkExtension.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Sonata\AdminBundle\Admin\AdminExtension;
1616
use Sonata\AdminBundle\Admin\AdminInterface;
1717
use Symfony\Bundle\FrameworkBundle\Translation\Translator;
18+
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\PrefixInterface;
1819
use Symfony\Cmf\Component\Routing\RouteReferrersReadInterface;
1920
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
2021
use Symfony\Component\Routing\Exception\ExceptionInterface as RoutingExceptionInterface;
@@ -68,7 +69,7 @@ public function configureTabMenu(
6869
);
6970
}
7071

71-
if ($subject instanceof PrefixInterface && !is_string($subject->getId())) {
72+
if ($subject instanceof PrefixInterface && !is_string($subject->getId())) {
7273
// we have an unpersisted dynamic route
7374
return;
7475
}

0 commit comments

Comments
 (0)