mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17281] Update psalm config and fix issues
PHPBB3-17281
This commit is contained in:
@@ -86,7 +86,7 @@ class manager
|
||||
* Loads tasks given by name, wraps them
|
||||
* and puts them into $this->tasks.
|
||||
*
|
||||
* @param array|\Traversable $tasks Array of instances of \phpbb\cron\task\task
|
||||
* @param array|\ArrayObject $tasks Array of instances of \phpbb\cron\task\task
|
||||
*/
|
||||
public function load_tasks($tasks)
|
||||
{
|
||||
@@ -106,6 +106,7 @@ class manager
|
||||
{
|
||||
$this->is_initialised_from_container = true;
|
||||
|
||||
/** @var array|\phpbb\di\service_collection $tasks */
|
||||
$tasks = $this->phpbb_container->get('cron.task_collection');
|
||||
|
||||
$this->load_tasks($tasks);
|
||||
|
@@ -105,7 +105,7 @@ class tidy_plupload extends \phpbb\cron\task\base
|
||||
));
|
||||
}
|
||||
|
||||
$this->config->set('plupload_last_gc', time(), true);
|
||||
$this->config->set('plupload_last_gc', time());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user