You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using lodash-php ("lodash-php/lodash-php": "^0.09.0") in a laravel 10 project.
When i using the get method, an error is thrown if any of the keys in the given $path contain dots.
Example:
$myArray = [
'abc.com' => [
'foo.net' => [
'bar' => 'baz'
]
]
];
$myPath = ['abc.com', 'foo.net', 'bar'];
\_\get($myArray, $myPath);
// TypeError Symfony\Component\PropertyAccess\PropertyAccessor::getValue(): Argument #1 ($objectOrArray) must be of type object|array, null given, called in vendor\lodash-php\lodash-php\src\Util\property.php on line 66.