aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task/task.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/cron/task/task.php')
-rw-r--r--phpBB/includes/cron/task/task.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/cron/task/task.php b/phpBB/includes/cron/task/task.php
index 050e85c35e..72fda91dd0 100644
--- a/phpBB/includes/cron/task/task.php
+++ b/phpBB/includes/cron/task/task.php
@@ -23,6 +23,8 @@ interface phpbb_cron_task
{
/**
* Runs this cron task.
+ *
+ * @return void
*/
public function run();
@@ -31,17 +33,23 @@ interface phpbb_cron_task
*
* For example, a cron task that prunes forums can only run when
* forum pruning is enabled.
+ *
+ * @return bool
*/
public function is_runnable();
/**
* Returns whether this cron task should run now, because enough time
* has passed since it was last run.
+ *
+ * @return bool
*/
public function should_run();
/**
* Returns whether this cron task can be run in shutdown function.
+ *
+ * @return bool
*/
public function is_shutdown_function_safe();
}