phpBB

Code Changes

File: phpbb/cron/manager.php

  Unmodified   Added   Modified   Removed
Line 80Line 80
	* and puts them into $this->tasks.
*
* @param array|\Traversable $tasks Array of instances of \phpbb\cron\task\task

	* and puts them into $this->tasks.
*
* @param array|\Traversable $tasks Array of instances of \phpbb\cron\task\task

	*
* @return null

 
	*/
public function load_tasks($tasks)
{

	*/
public function load_tasks($tasks)
{

Line 94Line 92
	/**
* Loads registered tasks from the container, wraps them
* and puts them into $this->tasks.

	/**
* Loads registered tasks from the container, wraps them
* and puts them into $this->tasks.

	*
* @return null

 
	*/
public function load_tasks_from_container()
{

	*/
public function load_tasks_from_container()
{

Line 116Line 112
	*
* If no tasks are ready, null is returned.
*

	*
* If no tasks are ready, null is returned.
*

	* @return \phpbb\cron\task\wrapper|null

	* @return wrapper|null

	*/
public function find_one_ready_task()
{

	*/
public function find_one_ready_task()
{

Line 161Line 157
	* Web runner uses this method to resolve names to tasks.
*
* @param string $name Name of the task to look up.

	* Web runner uses this method to resolve names to tasks.
*
* @param string $name Name of the task to look up.

	* @return \phpbb\cron\task\wrapper	A wrapped task corresponding to the given name, or null.

	* @return wrapper	A wrapped task corresponding to the given name, or null.

	*/
public function find_task($name)
{

	*/
public function find_task($name)
{

Line 193Line 189
	* Wraps a task inside an instance of \phpbb\cron\task\wrapper.
*
* @param \phpbb\cron\task\task $task The task.

	* Wraps a task inside an instance of \phpbb\cron\task\wrapper.
*
* @param \phpbb\cron\task\task $task The task.

	* @return \phpbb\cron\task\wrapper	The wrapped task.

	* @return wrapper	The wrapped task.

	*/
public function wrap_task(\phpbb\cron\task\task $task)
{

	*/
public function wrap_task(\phpbb\cron\task\task $task)
{