Skip to content

Commit d1f1ec4

Browse files
committed
refactor: replace empty()
1 parent bc4f308 commit d1f1ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Helpers/Array/ArrayHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private static function arraySearchDot(array $indexes, array $array)
8585

8686
// If this is the last index, make sure to return it now,
8787
// and not try to recurse through things.
88-
if (empty($indexes)) {
88+
if ($indexes === []) {
8989
return $array[$currentIndex];
9090
}
9191

0 commit comments

Comments
 (0)