Skip to content

Commit 8bd750f

Browse files
authored
fix: phpstan error in v1.8.8
1 parent f6dd565 commit 8bd750f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Helpers/array_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function _array_search_dot(array $indexes, array $array)
4848
// Grab the current index
4949
$currentIndex = $indexes ? array_shift($indexes) : null;
5050

51-
if ((empty($currentIndex) && (int) $currentIndex !== 0) || (! isset($array[$currentIndex]) && $currentIndex !== '*')) {
51+
if (empty($currentIndex) || (! isset($array[$currentIndex]) && $currentIndex !== '*')) {
5252
return null;
5353
}
5454

0 commit comments

Comments
 (0)