@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | if ($this->context->hasAttribute('allows_root_null') && $this->context->getAttribute('allows_root_null') && 0 === $this->context->getVisitingSet()->count()) { |
137 | 137 | return null; |
138 | 138 | } |
139 | - if (!$this->shouldSerializeNull) { |
|
139 | + if ( ! $this->shouldSerializeNull) { |
|
140 | 140 | throw new NotAcceptableException(); |
141 | 141 | } |
142 | 142 | return $this->visitor->visitNull($data, $type); |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | case 'resource': |
166 | 166 | $msg = 'Resources are not supported in serialized data.'; |
167 | 167 | if (null !== $path = $this->context->getPath()) { |
168 | - $msg .= ' Path: ' . $path; |
|
168 | + $msg .= ' Path: '.$path; |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | throw new RuntimeException($msg); |