We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b720b9 commit 7c858b2Copy full SHA for 7c858b2
src/Enum.php
@@ -177,7 +177,7 @@ public static function search($value)
177
public static function __callStatic($name, $arguments)
178
{
179
$array = static::toArray();
180
- if (isset($array[$name]) || array_key_exists($name, $array)) {
+ if (isset($array[$name]) || \array_key_exists($name, $array)) {
181
return new static($array[$name]);
182
}
183
0 commit comments