1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[ticket/12683] Small code style improvements

PHPBB3-12683
This commit is contained in:
Ruben Calvo
2022-12-11 16:54:22 +01:00
parent f9f55eb012
commit 6de699d318
9 changed files with 14 additions and 23 deletions

View File

@@ -116,7 +116,9 @@ class fulltext_native extends base implements search_backend_interface
* @param string $phpbb_root_path phpBB root path
* @param string $phpEx PHP file extension
*/
public function __construct(config $config, driver_interface $db, dispatcher_interface $phpbb_dispatcher, language $language, user $user, string $search_results_table, string $search_wordlist_table, string $search_wordmatch_table, string $phpbb_root_path, string $phpEx)
public function __construct(config $config, driver_interface $db, dispatcher_interface $phpbb_dispatcher,
language $language, user $user, string $search_results_table, string $search_wordlist_table,
string $search_wordmatch_table, string $phpbb_root_path, string $phpEx)
{
global $cache;

View File

@@ -146,7 +146,7 @@ class state_helper
*/
public function clear_state(): void
{
$this->save_state([]);
$this->save_state();
}
/**
@@ -176,6 +176,6 @@ class state_helper
{
ksort($state);
$this->config->set('search_indexing_state', implode(',', $state), true);
$this->config->set('search_indexing_state', implode(',', $state));
}
}