mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16955] Clean up rrouter and fulltext_sphinx
PHPBB3-16955
This commit is contained in:
@@ -58,12 +58,12 @@ class router implements RouterInterface
|
||||
protected $php_ext;
|
||||
|
||||
/**
|
||||
* @var \Symfony\Component\Routing\Matcher\UrlMatcherInterface|null
|
||||
* @var \Symfony\Component\Routing\Matcher\UrlMatcherInterface
|
||||
*/
|
||||
protected $matcher;
|
||||
|
||||
/**
|
||||
* @var \Symfony\Component\Routing\Generator\UrlGeneratorInterface|null
|
||||
* @var \Symfony\Component\Routing\Generator\UrlGeneratorInterface
|
||||
*/
|
||||
protected $generator;
|
||||
|
||||
|
@@ -855,6 +855,7 @@ class fulltext_sphinx implements search_backend_interface
|
||||
generate a config for the index. We use a config value
|
||||
fulltext_sphinx_id for this, as it should be unique. */
|
||||
$config_object = new \phpbb\search\backend\sphinx\config();
|
||||
/** @psalm-suppress UndefinedVariable */
|
||||
$config_data = array(
|
||||
'source source_phpbb_' . $this->id . '_main' => array(
|
||||
array('type', $this->dbtype . ' # mysql or pgsql'),
|
||||
|
Reference in New Issue
Block a user