Add close flag.

This commit is contained in:
David Molineus
2015-01-21 14:16:56 +01:00
parent a5cee7a2b3
commit 3c9d30e1d7

View File

@@ -118,7 +118,7 @@ class EncoderSubscriber implements EventSubscriberInterface
); );
foreach ($value->getMethodCalls() as $call) { foreach ($value->getMethodCalls() as $call) {
$event->addLine($call->encode($encoder, $encoder->getOutput())); $event->addLine($call->encode($encoder, Encoder::CLOSE_STATEMENT));
} }
} }
} }