Completed
Push — master ( 1ea962...54e33b )
by Frank
04:59
created
src/Routing/Loader/AnnotatedI18nRouteLoader.php 2 patches
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.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -197,6 +197,9 @@
 block discarded – undo
197 197
         return $globals;
198 198
     }
199 199
 
200
+    /**
201
+     * @param I18nRoute $annot
202
+     */
200 203
     protected function configureRoute(Route $route, ReflectionClass $class, ReflectionMethod $method, $annot)
201 204
     {
202 205
         $route->setDefault('_controller', $class->name . '::' . $method->getName());
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.