[ticket/16955] Clean up feed classes

PHPBB3-16955
This commit is contained in:
Marc Alexander 2022-12-26 16:52:17 +01:00
parent 7f61f8b770
commit e1a3b6b552
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
3 changed files with 4 additions and 4 deletions

View file

@ -329,9 +329,9 @@ abstract class base implements feed_interface
}
/**
* Returns the SQL query used to retrieve the posts of the feed.
* Sets the SQL query used to retrieve the posts of the feed and returns success state
*
* @return string SQL SELECT query
* @return bool True of SQL query was set, false if not
*/
protected abstract function get_sql();
}

View file

@ -298,7 +298,7 @@ class feed
*
* @return Response
*
* @throws exception\feed_exception
* @throws \phpbb\feed\exception\feed_exception
*/
protected function send_feed_do(feed_interface $feed)
{

View file

@ -52,7 +52,7 @@ interface feed_interface
/**
* Get the next post in the feed
*
* @return array
* @return array|false Item array or false if no next item exists
*/
public function get_item();