Pārlūkot izejas kodu

[Routing] Updating changed method name after method name refactoring.

Ryan Weaver 14 gadi atpakaļ
vecāks
revīzija
f0ee10112e

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

@@ -121,7 +121,7 @@ abstract class AnnotationClassLoader implements LoaderInterface
                 $options = array_merge($globals['options'], $annot->getOptions());
 
                 $route = new Route($globals['pattern'].$annot->getPattern(), $defaults, $requirements, $options);
-                $collection->addRoute($annot->getName(), $route);
+                $collection->add($annot->getName(), $route);
             }
         }