Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

Commit 9fd4c18

Browse files
committed
fix: fix bad comparation for array item
1 parent 94f888f commit 9fd4c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AttributeCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private static function getGroupResult($type, array $group_attributes, $attribut
6969
}
7070
} elseif (is_array($item)) {
7171
foreach ($item as $listItem) {
72-
if (! array_key_exists($item, $attributes)) {
72+
if (! array_key_exists($listItem, $attributes)) {
7373
return self::NOT_OK;
7474
}
7575
}

0 commit comments

Comments
 (0)