mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 12:16:12 +01:00
[BUGFIX] Make sure boolean is returned for strict return type
When configured by comma seperate list, it should return true
This commit is contained in:
parent
9b0b0305a7
commit
5250f97809
1 changed files with 3 additions and 2 deletions
|
@ -384,7 +384,7 @@ class TcaTableService implements TcaTableServiceInterface
|
||||||
*/
|
*/
|
||||||
protected function isBlackListedRootLineConfigured(): bool
|
protected function isBlackListedRootLineConfigured(): bool
|
||||||
{
|
{
|
||||||
return $this->configuration->getIfExists('indexing.' . $this->getTableName() . '.rootLineBlacklist');
|
return (bool)$this->configuration->getIfExists('indexing.' . $this->getTableName() . '.rootLineBlacklist');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -396,7 +396,8 @@ class TcaTableService implements TcaTableServiceInterface
|
||||||
{
|
{
|
||||||
return GeneralUtility::intExplode(
|
return GeneralUtility::intExplode(
|
||||||
',',
|
',',
|
||||||
$this->configuration->getIfExists('indexing.' . $this->getTableName() . '.rootLineBlacklist')
|
$this->configuration->getIfExists('indexing.' . $this->getTableName() . '.rootLineBlacklist'),
|
||||||
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue