Passed
Branch master (bf85d9)
by Johannes
05:40
created
src/SerializationGraphNavigator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
         HandlerRegistryInterface $handlerRegistry,
58 58
         EventDispatcherInterface $dispatcher = null,
59 59
         ExpressionEvaluatorInterface $expressionEvaluator = null
60
-    )
61
-    {
60
+    ) {
62 61
         $this->dispatcher = $dispatcher ?: new EventDispatcher();
63 62
         $this->metadataFactory = $metadataFactory;
64 63
         $this->handlerRegistry = $handlerRegistry;
Please login to merge, or discard this patch.
src/Serializer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,7 @@
 block discarded – undo
95 95
         ExpressionEvaluatorInterface $expressionEvaluator = null,
96 96
         SerializationContextFactoryInterface $serializationContextFactory = null,
97 97
         DeserializationContextFactoryInterface $deserializationContextFactory = null
98
-    )
99
-    {
98
+    ) {
100 99
         $this->factory = $factory;
101 100
         $this->handlerRegistry = $handlerRegistry;
102 101
         $this->objectConstructor = $objectConstructor;
Please login to merge, or discard this patch.
src/Handler/DateHandler.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@  discard block
 block discarded – undo
73 73
         \DateTimeInterface $date,
74 74
         array $type,
75 75
         SerializationContext $context
76
-    )
77
-    {
76
+    ) {
78 77
         if ($visitor instanceof XmlSerializationVisitor && false === $this->xmlCData) {
79 78
             return $visitor->visitSimpleString($date->format($this->getFormat($type)), $type);
80 79
         }
@@ -97,8 +96,7 @@  discard block
 block discarded – undo
97 96
         \DateTimeImmutable $date,
98 97
         array $type,
99 98
         SerializationContext $context
100
-    )
101
-    {
99
+    ) {
102 100
         return $this->serializeDateTimeInterface($visitor, $date, $type, $context);
103 101
     }
104 102
 
Please login to merge, or discard this patch.