@@ -198,6 +198,9 @@ |
||
198 | 198 | return $globals; |
199 | 199 | } |
200 | 200 | |
201 | + /** |
|
202 | + * @param I18nRoute $annot |
|
203 | + */ |
|
201 | 204 | protected function configureRoute(Route $route, ReflectionClass $class, ReflectionMethod $method, $annot) |
202 | 205 | { |
203 | 206 | $route->setDefault('_controller', $class->getName() . '::' . $method->getName()); |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Doctrine\Common\Annotations\Reader; |
8 | 8 | use FrankDeJonge\SymfonyI18nRouting\Routing\Annotation\I18nRoute; |
9 | 9 | use function join; |
10 | -use LogicException; |
|
11 | 10 | use ReflectionClass; |
12 | 11 | use ReflectionMethod; |
13 | 12 | use Symfony\Component\Routing\Loader\AnnotationClassLoader; |
@@ -131,6 +131,9 @@ |
||
131 | 131 | } |
132 | 132 | } |
133 | 133 | |
134 | + /** |
|
135 | + * @param string $file |
|
136 | + */ |
|
134 | 137 | protected function parseImport(RouteCollection $collection, array $config, $path, $file) |
135 | 138 | { |
136 | 139 | $type = isset($config['type']) ? $config['type'] : 'i18n_routes'; |