From 0dc221fbd07ffc3c5f005e61a00a545f5518b8c0 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 6 May 2010 12:24:45 -0400 Subject: [PATCH] fix type hint --- framework/Notification/lib/Horde/Notification/Storage/Interface.php | 2 +- framework/Notification/lib/Horde/Notification/Storage/Object.php | 4 ++-- framework/Notification/lib/Horde/Notification/Storage/Session.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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. */ -- 2.11.0