@@ -68,7 +68,7 @@ |
||
68 | 68 | |
69 | 69 | $nextPosition = $factory->createPosition( |
70 | 70 | $nextLevel, |
71 | - $nextPathPrefix . $name, |
|
71 | + $nextPathPrefix.$name, |
|
72 | 72 | $parentType, |
73 | 73 | $name |
74 | 74 | ); |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | |
171 | 171 | $currentPath = $this->getPosition()->getPath(); |
172 | 172 | $nextLevel = $this->getPosition()->getLevel() + 1; |
173 | - $nextPathPrefix = empty($currentPath) === true ? '' : $currentPath . PositionInterface::PATH_SEPARATOR; |
|
173 | + $nextPathPrefix = empty($currentPath) === true ? '' : $currentPath.PositionInterface::PATH_SEPARATOR; |
|
174 | 174 | foreach ($this->getSchema()->getRelationships($this->getData()) as $name => $description) { |
175 | 175 | assert($this->assertRelationshipNameAndDescription($name, $description) === true); |
176 | 176 | |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | |
193 | 193 | assert( |
194 | 194 | $hasData || $hasMeta || $hasLinks, |
195 | - "Relationship `$name` for type `" . $this->getType() . |
|
195 | + "Relationship `$name` for type `".$this->getType(). |
|
196 | 196 | '` MUST contain at least one of the following: links, data or meta.' |
197 | 197 | ); |
198 | 198 | |
@@ -367,11 +367,11 @@ discard block |
||
367 | 367 | { |
368 | 368 | assert( |
369 | 369 | is_string($name) === true && empty($name) === false, |
370 | - "Relationship names for type `" . $this->getType() . '` should be non-empty strings.' |
|
370 | + "Relationship names for type `".$this->getType().'` should be non-empty strings.' |
|
371 | 371 | ); |
372 | 372 | assert( |
373 | 373 | is_array($description) === true && empty($description) === false, |
374 | - "Relationship `$name` for type `" . $this->getType() . '` should be a non-empty array.' |
|
374 | + "Relationship `$name` for type `".$this->getType().'` should be a non-empty array.' |
|
375 | 375 | ); |
376 | 376 | |
377 | 377 | return true; |