Skip to content

Commit

Permalink
Patch suggested by fapbot.io
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgarlag committed May 9, 2019
1 parent 39fd3e1 commit 36056a4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -355,7 +355,7 @@ protected function instantiateObject(array &$data, $class, array &$context, \Ref
}

$variadicParameters = array_map(
function($parameterData) use ($reflectionClass, $constructorParameter, $paramName, $context, $format) {
function ($parameterData) use ($reflectionClass, $constructorParameter, $paramName, $context, $format) {
return $this->denormalizeParameter($reflectionClass, $constructorParameter, $paramName, $parameterData, $context, $format);
},
$data[$paramName]
Expand Down

0 comments on commit 36056a4

Please sign in to comment.