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 bc4f308 commit d1f1ec4Copy full SHA for d1f1ec4
system/Helpers/Array/ArrayHelper.php
@@ -85,7 +85,7 @@ private static function arraySearchDot(array $indexes, array $array)
85
86
// If this is the last index, make sure to return it now,
87
// and not try to recurse through things.
88
- if (empty($indexes)) {
+ if ($indexes === []) {
89
return $array[$currentIndex];
90
}
91
0 commit comments