Quellcode durchsuchen

[Routing] removed the autoloading trick, which is not needed anymore

Fabien Potencier vor 14 Jahren
Ursprung
Commit
c39534e258
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php

+ 1 - 1
src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php

@@ -81,7 +81,7 @@ abstract class AnnotationClassLoader implements LoaderInterface
         }
 
         $class = new \ReflectionClass($class);
-        class_exists($annotClass = 'Symfony\\Component\\Routing\\Annotation\\Route');
+        $annotClass = 'Symfony\\Component\\Routing\\Annotation\\Route';
 
         $globals = array(
             'pattern'      => '',