@@ -49,7 +49,7 @@ discard block |
||
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 |
||
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 | } |
@@ -127,8 +127,7 @@ |
||
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; |