🤖 Rector and PHPCS fixes
This commit is contained in:
parent
92f048d359
commit
8b267e5e4f
|
@ -132,14 +132,14 @@ function _ft_pageSearch(&$data)
|
|||
break;
|
||||
case 'AND': // and operation
|
||||
$pages = array_splice($stack, -2);
|
||||
if (empty($pages)) {
|
||||
if ($pages === []) {
|
||||
break;
|
||||
}
|
||||
$stack[] = ft_resultCombine($pages);
|
||||
break;
|
||||
case 'OR': // or operation
|
||||
$pages = array_splice($stack, -2);
|
||||
if (empty($pages)) {
|
||||
if ($pages === []) {
|
||||
break;
|
||||
}
|
||||
$stack[] = ft_resultUnite($pages);
|
||||
|
|
Loading…
Reference in New Issue