From adc69ced9c75421c5ee596fbd0a3426fffb9940c Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sat, 3 Jan 2009 14:32:22 +0100 Subject: [PATCH] Adds type information to the subclass-defined method 'fetch' of PlFeed, to ensure subclasses are considering $user as an object and not as an id. Signed-off-by: Vincent Zanotti --- classes/plfeed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/plfeed.php b/classes/plfeed.php index 78af758..916e574 100644 --- a/classes/plfeed.php +++ b/classes/plfeed.php @@ -69,7 +69,7 @@ abstract class PlFeed implements PlIterator /** Fetch the feed for the given user. */ - abstract protected function fetch($user); + abstract protected function fetch(PlUser &$user); public function next() { -- 2.1.4