We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa783b commit ecdc023Copy full SHA for ecdc023
src/Filters/QueryMatchFilter.php
@@ -79,11 +79,13 @@ public function filter($collection): array
79
$return[] = $value;
80
}
81
82
- if (($operator === '=' || $operator === '==') && (string)$value1 === (string)$comparisonValue) {
+ /** @noinspection TypeUnsafeComparisonInspection */
83
+ if (($operator === '=' || $operator === '==') && $value1 == $comparisonValue) {
84
85
86
- if (($operator === '!=' || $operator === '!==' || $operator === '<>') && (string)$value1 !== (string)$comparisonValue) {
87
88
+ if (($operator === '!=' || $operator === '!==' || $operator === '<>') && $value1 != $comparisonValue) {
89
90
91
0 commit comments