Selaa lähdekoodia

fixed incorrect reference to set*Service() method

Marc Abramowitz 13 vuotta sitten
vanhempi
commit
c1fea1d8c8
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/Symfony/Component/DependencyInjection/Container.php

+ 2 - 2
src/Symfony/Component/DependencyInjection/Container.php

@@ -218,8 +218,8 @@ class Container implements ContainerInterface
     /**
      * Gets a service.
      *
-     * If a service is both defined through a set() method and
-     * with a set*Service() method, the former has always precedence.
+     * If a service is defined both through a set() method and
+     * with a get{$id}Service() method, the former has always precedence.
      *
      * @param string  $id              The service identifier
      * @param integer $invalidBehavior The behavior when the service does not exist