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

Fixed bug with custom type handlers and strings - #384 #202 #180 #458

Closed
wants to merge 1 commit into from

Conversation

Bubelbub
Copy link

@Bubelbub Bubelbub commented Jun 7, 2015

No description provided.

@@ -140,6 +141,9 @@ public function accept($data, array $type = null, Context $context)
// TODO: The rest of this method needs some refactoring.
if ($context instanceof SerializationContext) {
if (null !== $data) {
if(is_string($data)) {
$data = new String($data);
}

Choose a reason for hiding this comment

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

Please use 4 space (no tab) for indentation

@goetas
Copy link
Collaborator

goetas commented Aug 3, 2016

already implemented with #610

@goetas goetas closed this Aug 3, 2016
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.

3 participants