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:
@@ -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;
|
||||
|
||||
|
@@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user