mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +02:00
[ticket/16671] Fix coding style
PHPBB3-16671
This commit is contained in:
@@ -26,17 +26,17 @@ use Symfony\Component\HttpKernel\Event\PostResponseEvent;
|
||||
class cron_runner_listener implements EventSubscriberInterface
|
||||
{
|
||||
/**
|
||||
* @var \phpbb\lock\db
|
||||
* @var db
|
||||
*/
|
||||
private $cron_lock;
|
||||
|
||||
/**
|
||||
* @var \phpbb\cron\manager
|
||||
* @var manager
|
||||
*/
|
||||
private $cron_manager;
|
||||
|
||||
/**
|
||||
* @var \phpbb\request\request_interface
|
||||
* @var request_interface
|
||||
*/
|
||||
private $request;
|
||||
|
||||
|
@@ -80,8 +80,6 @@ class manager
|
||||
* 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)
|
||||
{
|
||||
@@ -94,8 +92,6 @@ class manager
|
||||
/**
|
||||
* Loads registered tasks from the container, wraps them
|
||||
* and puts them into $this->tasks.
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
public function load_tasks_from_container()
|
||||
{
|
||||
@@ -116,7 +112,7 @@ class manager
|
||||
*
|
||||
* If no tasks are ready, null is returned.
|
||||
*
|
||||
* @return \phpbb\cron\task\wrapper|null
|
||||
* @return wrapper|null
|
||||
*/
|
||||
public function find_one_ready_task()
|
||||
{
|
||||
@@ -161,7 +157,7 @@ class manager
|
||||
* 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)
|
||||
{
|
||||
@@ -193,7 +189,7 @@ class manager
|
||||
* 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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user