浏览代码

fixed typos

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.
      * 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.
      * @param object $listener The listener object to remove.
      */
      */
-    function removeListener($eventNames, $listener);
+    function removeListener($eventName, $listener);
 
 
     /**
     /**
      * Removes an event subscriber.
      * Removes an event subscriber.