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

Commit

Permalink
Update KeyTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 authored Apr 11, 2017
1 parent 07a1f2f commit 2b40cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/Helpers/Arr/KeyTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function evenKey(array $storage)
*/
public function keyExists(array $storage, $key)
{
return isset($storage[$key]) || array_key_exists($key, $storage);
return isset($storage[$key]) || $this->get($storage, $key) !== null;
}

/**
Expand Down

0 comments on commit 2b40cdf

Please sign in to comment.