Skip to content
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

put the custom normalizers first #10

Merged
merged 2 commits into from
Jun 7, 2011
Merged

put the custom normalizers first #10

merged 2 commits into from
Jun 7, 2011

Conversation

lsmith77
Copy link
Contributor

@lsmith77 lsmith77 commented Jun 7, 2011

No description provided.

if ($this->nativePhpTypeNormalizer->supportsNormalization($data, $format)) {
return $this->nativePhpTypeNormalizer->normalize($data, $format);
}

if ($this->customObjectNormalizers) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add an "is_object" check here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@schmittjoh schmittjoh merged commit 6212c59 into schmittjoh:master Jun 7, 2011
@schmittjoh
Copy link
Owner

merged, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants