Skip to content
This repository was archived by the owner on Aug 13, 2023. It is now read-only.

Commit 2b40cdf

Browse files
authored
Update KeyTrait.php
1 parent 07a1f2f commit 2b40cdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Helper/Helpers/Arr/KeyTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function evenKey(array $storage)
7878
*/
7979
public function keyExists(array $storage, $key)
8080
{
81-
return isset($storage[$key]) || array_key_exists($key, $storage);
81+
return isset($storage[$key]) || $this->get($storage, $key) !== null;
8282
}
8383

8484
/**

0 commit comments

Comments
 (0)