@@ -271,10 +271,10 @@ discard block |
||
271 | 271 | * @return AbstractContent|ContentPage|ContentComment |
272 | 272 | * @throws HydrationException |
273 | 273 | */ |
274 | - public static function load(array $data): ContentComment|AbstractContent|ContentPage |
|
274 | + public static function load(array $data): ContentComment | AbstractContent | ContentPage |
|
275 | 275 | { |
276 | 276 | /* handle older content versions */ |
277 | - if(isset($data['content'], $data['when'])) { |
|
277 | + if (isset($data['content'], $data['when'])) { |
|
278 | 278 | return self::load($data['content']); |
279 | 279 | } |
280 | 280 | |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | $content->setContent((string)$data['body']['storage']['value']); |
305 | 305 | } |
306 | 306 | |
307 | - if(isset($data['status'])) { |
|
307 | + if (isset($data['status'])) { |
|
308 | 308 | Assert::string($data['status']); |
309 | 309 | $content->setLatest($data['status'] === 'current'); |
310 | 310 | } |
@@ -86,11 +86,11 @@ |
||
86 | 86 | |
87 | 87 | $queryParameter['expand'] = self::DEFAULT_EXPAND; |
88 | 88 | |
89 | - if($limit !== null) { |
|
89 | + if ($limit !== null) { |
|
90 | 90 | $queryParameter['limit'] = $limit; |
91 | 91 | } |
92 | 92 | |
93 | - if($start !== null) { |
|
93 | + if ($start !== null) { |
|
94 | 94 | $queryParameter['start'] = $start; |
95 | 95 | } |
96 | 96 |