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.