Completed
Push — master ( bca5bf...3f9075 )
by Frank
03:32
created
src/Routing/Loader/AnnotatedI18nRouteLoader.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -198,6 +198,9 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Routing/Loader/YamlFileLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -131,6 +131,9 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.