Skip to content

Commit 5442dd7

Browse files
Make in_array() calls strict
1 parent 072921b commit 5442dd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cva.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private function resolveCompoundVariant(array $compound, array $recipes): array
119119
if ('class' === $compoundName) {
120120
continue;
121121
}
122-
if (!isset($recipes[$compoundName]) || !\in_array($recipes[$compoundName], (array) $compoundValues)) {
122+
if (!isset($recipes[$compoundName]) || !\in_array($recipes[$compoundName], (array) $compoundValues, true)) {
123123
return [];
124124
}
125125
}

0 commit comments

Comments
 (0)