Skip to content

Commit

Permalink
Merge branch 'objects'
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Bjornskov committed Jul 2, 2015
2 parents e8a09a7 + 0692219 commit 6515c47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

"extra" : {
"branch-alias" : {
"dev-master" : "1.0.x-dev"
"dev-master" : "0.4.x-dev"
}
}
}
4 changes: 4 additions & 0 deletions src/Normalizer/ChainNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ public function add(Normalizer $normalizer)
*/
public function normalize($value)
{
if (!is_scalar($value)) {
return $value;
}

foreach ($this->normalizers as $normalizer) {
$value = $normalizer->normalize($value);
}
Expand Down

0 comments on commit 6515c47

Please sign in to comment.