mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/17135] Address review issues but constants
PHPBB-17135
This commit is contained in:
@@ -117,8 +117,8 @@ abstract class base implements messenger_interface
|
||||
service_collection $twig_extensions_collection,
|
||||
lexer $twig_lexer,
|
||||
user $user,
|
||||
$phpbb_root_path,
|
||||
$template_cache_path,
|
||||
string $phpbb_root_path,
|
||||
string $template_cache_path,
|
||||
?manager $ext_manager = null,
|
||||
?log_interface $log = null
|
||||
)
|
||||
@@ -154,6 +154,8 @@ abstract class base implements messenger_interface
|
||||
/**
|
||||
* Sets the use of messenger queue flag
|
||||
*
|
||||
* @param bool $use_queue Flag indicating if cached queue to be used
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function set_use_queue(bool $use_queue = true): void
|
||||
@@ -426,7 +428,6 @@ abstract class base implements messenger_interface
|
||||
if ($this->use_queue && !empty($this->queue))
|
||||
{
|
||||
$this->queue->save();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user