Completed
Branch next (e13c7e)
by Neomerx
01:45
created
src/Parser/IdentifierAndResource.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 
173 173
         $currentPath    = $this->getPosition()->getPath();
174 174
         $nextLevel      = $this->getPosition()->getLevel() + 1;
175
-        $nextPathPrefix = empty($currentPath) === true ? '' : $currentPath . PositionInterface::PATH_SEPARATOR;
175
+        $nextPathPrefix = empty($currentPath) === true ? '' : $currentPath.PositionInterface::PATH_SEPARATOR;
176 176
         foreach ($this->getSchema()->getRelationships($this->getData()) as $name => $description) {
177 177
             assert($this->assertRelationshipNameAndDescription($name, $description) === true);
178 178
 
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
             assert(
188 188
                 $hasData || $hasMeta || $hasLinks,
189
-                "Relationship `$name` for type `" . $this->getType() .
189
+                "Relationship `$name` for type `".$this->getType().
190 190
                 '` MUST contain at least one of the following: links, data or meta.'
191 191
             );
192 192
 
@@ -445,11 +445,11 @@  discard block
 block discarded – undo
445 445
     {
446 446
         assert(
447 447
             is_string($name) === true && empty($name) === false,
448
-            "Relationship names for type `" . $this->getType() . '` should be non-empty strings.'
448
+            "Relationship names for type `".$this->getType().'` should be non-empty strings.'
449 449
         );
450 450
         assert(
451 451
             is_array($description) === true && empty($description) === false,
452
-            "Relationship `$name` for type `" . $this->getType() . '` should be a non-empty array.'
452
+            "Relationship `$name` for type `".$this->getType().'` should be a non-empty array.'
453 453
         );
454 454
 
455 455
         return true;
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
 
483 483
         $nextPosition = $this->getFactory()->createPosition(
484 484
             $nextLevel,
485
-            $nextPathPrefix . $name,
485
+            $nextPathPrefix.$name,
486 486
             $this->getType(),
487 487
             $name
488 488
         );
Please login to merge, or discard this patch.