Completed
Branch master (7a6410)
by
unknown
01:52
created
src/Parser/RelationshipData/RelationshipDataIsCollection.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,8 +127,7 @@
 block discarded – undo
127 127
         if ($this->parsedResources === null) {
128 128
             foreach ($this->resources as $resourceOrIdentifier) {
129 129
                 $parsedResource          = $resourceOrIdentifier instanceof SchemaIdentifierInterface ?
130
-                    $this->createParsedIdentifier($resourceOrIdentifier) :
131
-                    $this->createParsedResource($resourceOrIdentifier);
130
+                    $this->createParsedIdentifier($resourceOrIdentifier) : $this->createParsedResource($resourceOrIdentifier);
132 131
                 $this->parsedResources[] = $parsedResource;
133 132
 
134 133
                 yield $parsedResource;
Please login to merge, or discard this patch.
src/Encoder/EncoderPropertiesTrait.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 
206 206
         \assert(
207 207
             \call_user_func(
208
-                function (array $paths): bool {
208
+                function(array $paths): bool {
209 209
                     $pathsOk = true;
210 210
                     foreach ($paths as $path) {
211 211
                         $pathsOk = $pathsOk === true && \is_string($path) === true && empty($path) === false;
@@ -301,8 +301,7 @@  discard block
 block discarded – undo
301 301
     public function withLinks(iterable $links): EncoderInterface
302 302
     {
303 303
         $this->links = $this->hasLinks() === false ?
304
-            $links :
305
-            $this->links = \array_merge(
304
+            $links : $this->links = \array_merge(
306 305
                 $this->iterableToArray($this->getLinks()),
307 306
                 $this->iterableToArray($links)
308 307
             );
Please login to merge, or discard this patch.