Completed
Branch master (1807c3)
by
unknown
01:52
created
src/Parser/Parser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
     /** @var string */
51 51
     public const MSG_CAN_NOT_PARSE_RELATIONSHIP =
52
-        'For resource of type `%s` with ID `%s` relationship `%s` cannot be parsed because it either ' .
52
+        'For resource of type `%s` with ID `%s` relationship `%s` cannot be parsed because it either '.
53 53
         'has `null` or identifier as data. Skipping.';
54 54
 
55 55
     /** @var string */
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
         foreach ($paths as $path) {
447 447
             $curPath = '';
448 448
             foreach (\explode($separator, $path) as $pathPart) {
449
-                $curPath                   = empty($curPath) === true ? $pathPart : $curPath . $separator . $pathPart;
449
+                $curPath                   = empty($curPath) === true ? $pathPart : $curPath.$separator.$pathPart;
450 450
                 $normalizedPaths[$curPath] = true;
451 451
             }
452 452
         }
Please login to merge, or discard this patch.
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.