X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fevents%2Ffeed.inc.php;h=63ced8d32da2d10d5915dbe0ef063778e63ed1d0;hb=fdb709ba913c37b6e9d9ffd38e875ad150effa4e;hp=bc93fdeae0e9f65a2499e5e8b41264b4e808875d;hpb=5e1513f67936a6c6866113d260746711af4ea2ee;p=platal.git diff --git a/modules/events/feed.inc.php b/modules/events/feed.inc.php index bc93fde..63ced8d 100644 --- a/modules/events/feed.inc.php +++ b/modules/events/feed.inc.php @@ -31,7 +31,7 @@ class EventFeed extends PlFeed 'events/rss.tpl'); } - public static function nextEvent(PlIterator &$it, PlUser &$user) + public static function nextEvent(PlIterator $it, PlUser $user) { while ($body = $it->next()) { $uf = UserFilter::getLegacy($body['promo_min'], $body['promo_max']); @@ -42,7 +42,7 @@ class EventFeed extends PlFeed return null; } - protected function fetch(PlUser &$user) + protected function fetch(PlUser $user) { global $globals; $events = XDB::iterator('SELECT e.id, e.titre AS title, e.texte, e.creation_date AS publication, e.post_id,