Permalink
Browse files

Change default serialization callback

  • Loading branch information...
1 parent aadbf8c commit e12ba5f5dc946d61dc48b5f2470fa36e442eff6a @MrHash MrHash committed Apr 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/Search/Serializer/CallbackSerializer.php
@@ -8,7 +8,7 @@ class CallbackSerializer implements SerializerInterface
{
protected $callback;
- public function __construct($callback = '__toString')
+ public function __construct($callback = 'toArray')
{
$this->callback = $callback;
}

0 comments on commit e12ba5f

Please sign in to comment.