Skip to content

Commit

Permalink
refactor: replace empty()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 31, 2023
1 parent bc4f308 commit d1f1ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Helpers/Array/ArrayHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private static function arraySearchDot(array $indexes, array $array)

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

Expand Down

0 comments on commit d1f1ec4

Please sign in to comment.