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 15ce1ad commit a24ccc6Copy full SHA for a24ccc6
src/AccessHelper.php
@@ -69,7 +69,7 @@ public static function keyExists($collection, $key, bool $magicIsAllowed = false
69
}
70
71
if (is_object($collection)) {
72
- return property_exists($collection, $key);
+ return property_exists($collection, (string)$key);
73
74
75
return false;
0 commit comments