@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | if (empty($attributes) === false) { |
269 | 269 | \assert( |
270 | 270 | \json_encode($attributes) !== false, |
271 | - 'Attributes for resource type `' . $resource->getType() . |
|
271 | + 'Attributes for resource type `'.$resource->getType(). |
|
272 | 272 | '` cannot be converted into JSON. Please check its Schema returns valid data.' |
273 | 273 | ); |
274 | 274 | $representation[DocumentInterface::KEYWORD_ATTRIBUTES] = $attributes; |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | if (empty($relationships) === false) { |
279 | 279 | \assert( |
280 | 280 | \json_encode($relationships) !== false, |
281 | - 'Relationships for resource type `' . $resource->getType() . |
|
281 | + 'Relationships for resource type `'.$resource->getType(). |
|
282 | 282 | '` cannot be converted into JSON. Please check its Schema returns valid data.' |
283 | 283 | ); |
284 | 284 | $representation[DocumentInterface::KEYWORD_RELATIONSHIPS] = $relationships; |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | $links = $this->getLinksRepresentation($this->getUrlPrefix(), $resource->getLinks()); |
289 | 289 | \assert( |
290 | 290 | \json_encode($links) !== false, |
291 | - 'Links for resource type `' . $resource->getType() . |
|
291 | + 'Links for resource type `'.$resource->getType(). |
|
292 | 292 | '` cannot be converted into JSON. Please check its Schema returns valid data.' |
293 | 293 | ); |
294 | 294 | $representation[DocumentInterface::KEYWORD_LINKS] = $links; |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | $meta = $resource->getResourceMeta(); |
299 | 299 | \assert( |
300 | 300 | \json_encode($meta) !== false, |
301 | - 'Meta for resource type `' . $resource->getType() . |
|
301 | + 'Meta for resource type `'.$resource->getType(). |
|
302 | 302 | '` cannot be converted into JSON. Please check its Schema returns valid data.' |
303 | 303 | ); |
304 | 304 | $representation[DocumentInterface::KEYWORD_META] = $meta; |