1
0
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:
rxu
2025-01-06 18:24:32 +07:00
parent 2f6ec7fc65
commit 28d5534d06
7 changed files with 50 additions and 33 deletions

View File

@@ -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;
}
}