Adds type information to the subclass-defined method 'fetch' of PlFeed, to ensure...
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Sat, 3 Jan 2009 13:32:22 +0000 (14:32 +0100)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Sat, 3 Jan 2009 13:32:22 +0000 (14:32 +0100)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
classes/plfeed.php

index 78af758..916e574 100644 (file)
@@ -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()
     {