Fabien Potencier пре 14 година
родитељ
комит
71411ba368
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php

+ 2 - 2
src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php

@@ -61,10 +61,10 @@ interface EventDispatcherInterface
     /**
      * Removes an event listener from the specified events.
      *
-     * @param string|array $eventNames The event(s) to remove a listener from.
+     * @param string|array $eventName The event(s) to remove a listener from.
      * @param object $listener The listener object to remove.
      */
-    function removeListener($eventNames, $listener);
+    function removeListener($eventName, $listener);
 
     /**
      * Removes an event subscriber.