fix type hint
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 6 May 2010 16:24:45 +0000 (12:24 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 6 May 2010 16:24:45 +0000 (12:24 -0400)
framework/Notification/lib/Horde/Notification/Storage/Interface.php
framework/Notification/lib/Horde/Notification/Storage/Object.php
framework/Notification/lib/Horde/Notification/Storage/Session.php

index 4d881b7..cca28ac 100644 (file)
@@ -65,6 +65,6 @@ interface Horde_Notification_Storage_Interface
      *                                         this listener.
      * @param Horde_Notification_Event $event  The event to store.
      */
-    public function push($listener, Notification_Event_Listener $event);
+    public function push($listener, Horde_Notification_Event $event);
 
 }
index 3ac6d41..64f21d4 100644 (file)
@@ -83,9 +83,9 @@ implements Horde_Notification_Storage_Interface
      *
      * @param string $listener                    The event will be stored for
      *                                            this listener.
-     * @param Notification_Event_Listener $event  The event to store.
+     * @param Horde_Notification_Event $event  The event to store.
      */
-    public function push($listener, Notification_Event_Listener $event)
+    public function push($listener, Horde_Notification_Event $event)
     {
         $this->_notifications[$listener][] = $event;
     }
index 54c7341..3b8964c 100644 (file)
@@ -98,9 +98,9 @@ implements Horde_Notification_Storage_Interface
      *
      * @param string $listener                    The event will be stored for
      *                                            this listener.
-     * @param Notification_Event_Listener $event  The event to store.
+     * @param Horde_Notification_Event $event  The event to store.
      */
-    public function push($listener, Notification_Event_Listener $event)
+    public function push($listener, Horde_Notification_Event $event)
     {
         /* No need to serialize() ourselves - PHP's session handling does
          * this automatically. */