Fabien Potencier 14 anni fa
parent
commit
71411ba368

+ 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.