8000 [Serializer] Argument objects by theofidry · Pull Request #19277 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Serializer] Argument objects #19277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 11, 2016
Prev Previous commit
Next Next commit
fix CS
  • Loading branch information
theofidry committed Jul 5, 2016
commit d4cdb00b32778cda9668d77919d3b5f99d770767
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ public function testInstantiateObjectDenormalizer()
{
$data = array('foo' => 'foo', 'bar' => 'bar', 'baz' => 'baz');
$class = __NAMESPACE__.'\Dummy';
$context = [];
$context = array();

$normalizer = new AbstractObjectNormalizerDummy();
$normalizer->instantiateObject($data, $class, $context, new \ReflectionClass($class), []);
$normalizer->instantiateObject($data, $class, $context, new \ReflectionClass($class), array());
}
}

Expand Down Expand Up @@ -63,8 +63,6 @@ public function instantiateObject(array &$data, $class, array &$context, \Reflec
{
return parent::instantiateObject($data, $class, $context, $reflectionClass, $allowedAttributes);
}


}

class Dummy
Expand Down
0