mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/16955] Clean up rrouter and fulltext_sphinx
PHPBB3-16955
This commit is contained in:
parent
056f786769
commit
b90f384466
2 changed files with 3 additions and 2 deletions
|
@ -58,12 +58,12 @@ class router implements RouterInterface
|
||||||
protected $php_ext;
|
protected $php_ext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Symfony\Component\Routing\Matcher\UrlMatcherInterface|null
|
* @var \Symfony\Component\Routing\Matcher\UrlMatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $matcher;
|
protected $matcher;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Symfony\Component\Routing\Generator\UrlGeneratorInterface|null
|
* @var \Symfony\Component\Routing\Generator\UrlGeneratorInterface
|
||||||
*/
|
*/
|
||||||
protected $generator;
|
protected $generator;
|
||||||
|
|
||||||
|
|
|
@ -855,6 +855,7 @@ class fulltext_sphinx implements search_backend_interface
|
||||||
generate a config for the index. We use a config value
|
generate a config for the index. We use a config value
|
||||||
fulltext_sphinx_id for this, as it should be unique. */
|
fulltext_sphinx_id for this, as it should be unique. */
|
||||||
$config_object = new \phpbb\search\backend\sphinx\config();
|
$config_object = new \phpbb\search\backend\sphinx\config();
|
||||||
|
/** @psalm-suppress UndefinedVariable */
|
||||||
$config_data = array(
|
$config_data = array(
|
||||||
'source source_phpbb_' . $this->id . '_main' => array(
|
'source source_phpbb_' . $this->id . '_main' => array(
|
||||||
array('type', $this->dbtype . ' # mysql or pgsql'),
|
array('type', $this->dbtype . ' # mysql or pgsql'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue