small changes

This commit is contained in:
DavidBadura
2015-02-08 15:40:37 +00:00
parent 6d13ee7d3a
commit 85132b8189
3 changed files with 10 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ class RecurringHandler implements SubscribingHandlerInterface
*/
public function serializeCarbon(VisitorInterface $visitor, Recurring $recurring, array $type, Context $context)
{
return $visitor->visitString((string)$recurring, $type, $context);
return $visitor->visitString($recurring->getValue(), $type, $context);
}
/**