fix: Fixed an issue where an exception would be thrown if orderBy
w…
#3
Annotations
10 errors
PHPStan:
src/services/Similar.php#L84
Else branch is unreachable because ternary operator condition is always true.
|
PHPStan:
src/services/Similar.php#L89
Negated boolean expression is always false.
|
PHPStan:
src/services/Similar.php#L94
Property nystudio107\similar\services\Similar::$preOrder (string) does not accept array.
|
PHPStan:
src/services/Similar.php#L161
Ternary operator condition is always true.
|
PHPStan:
src/services/Similar.php#L173
Access to an undefined property craft\base\ElementInterface::$id.
|
PHPStan:
src/services/Similar.php#L173
Access to an undefined property craft\base\ElementInterface::$siteId.
|
PHPStan:
src/services/Similar.php#L176
Access to an undefined property craft\base\ElementInterface::$count.
|
PHPStan:
src/services/Similar.php#L182
Access to an undefined property craft\base\ElementInterface::$count.
|
PHPStan:
src/services/Similar.php#L182
Access to an undefined property craft\base\ElementInterface::$count.
|
PHPStan:
src/services/Similar.php#L201
Call to function is_array() with string will always evaluate to false.
|