mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16955] Clean up feed classes
PHPBB3-16955
This commit is contained in:
parent
7f61f8b770
commit
e1a3b6b552
3 changed files with 4 additions and 4 deletions
|
@ -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();
|
protected abstract function get_sql();
|
||||||
}
|
}
|
||||||
|
|
|
@ -298,7 +298,7 @@ class feed
|
||||||
*
|
*
|
||||||
* @return Response
|
* @return Response
|
||||||
*
|
*
|
||||||
* @throws exception\feed_exception
|
* @throws \phpbb\feed\exception\feed_exception
|
||||||
*/
|
*/
|
||||||
protected function send_feed_do(feed_interface $feed)
|
protected function send_feed_do(feed_interface $feed)
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,7 +52,7 @@ interface feed_interface
|
||||||
/**
|
/**
|
||||||
* Get the next post in the feed
|
* 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();
|
public function get_item();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue