Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/boldtrn/JsonbBundle into …
Browse files Browse the repository at this point in the history
…add_tests
  • Loading branch information
boldtrn committed Oct 22, 2015
2 parents 56c822f + c8b191e commit eb8722a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Types/JsonbArrayType.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,4 @@ public function getName()
return 'jsonb';
}

/**
* {@inheritdoc}
*/
public function convertToDatabaseValue($value, AbstractPlatform $platform)
{
if (null === $value || empty($value)) {
return null;
}

return json_encode($value);
}

}

0 comments on commit eb8722a

Please sign in to comment.