🤖 Rector and PHPCS fixes

This commit is contained in:
splitbrain 2024-02-06 08:05:19 +00:00 committed by GitHub
parent 92f048d359
commit 8b267e5e4f
1 changed files with 2 additions and 2 deletions

View File

@ -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);