From: Michael J. Rubinsky Date: Thu, 6 May 2010 16:24:45 +0000 (-0400) Subject: fix type hint X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0dc221fbd07ffc3c5f005e61a00a545f5518b8c0;p=horde.git fix type hint --- diff --git a/framework/Notification/lib/Horde/Notification/Storage/Interface.php b/framework/Notification/lib/Horde/Notification/Storage/Interface.php index 4d881b745..cca28acb6 100644 --- a/framework/Notification/lib/Horde/Notification/Storage/Interface.php +++ b/framework/Notification/lib/Horde/Notification/Storage/Interface.php @@ -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); } diff --git a/framework/Notification/lib/Horde/Notification/Storage/Object.php b/framework/Notification/lib/Horde/Notification/Storage/Object.php index 3ac6d41fa..64f21d49f 100644 --- a/framework/Notification/lib/Horde/Notification/Storage/Object.php +++ b/framework/Notification/lib/Horde/Notification/Storage/Object.php @@ -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; } diff --git a/framework/Notification/lib/Horde/Notification/Storage/Session.php b/framework/Notification/lib/Horde/Notification/Storage/Session.php index 54c7341e6..3b8964c85 100644 --- a/framework/Notification/lib/Horde/Notification/Storage/Session.php +++ b/framework/Notification/lib/Horde/Notification/Storage/Session.php @@ -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. */