@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | */ |
| 199 | 199 | public function refresh(): void{ |
| 200 | 200 | $model = $this->recordManager->getById($this->getName(), $this->getId()); |
| 201 | - if(!is_null($model)){ |
|
| 201 | + if (!is_null($model)) { |
|
| 202 | 202 | $this->cleanModel(); |
| 203 | 203 | $this->setLoadedProperties($model->getSelfProperties()); |
| 204 | 204 | $this->setLoaded(); |
@@ -326,7 +326,7 @@ discard block |
||
| 326 | 326 | * |
| 327 | 327 | * @throws Exception\InvalidModelException |
| 328 | 328 | */ |
| 329 | - private function createCollection(?Collection $collection, array|Collection $models): Collection |
|
| 329 | + private function createCollection(?Collection $collection, array | Collection $models): Collection |
|
| 330 | 330 | { |
| 331 | 331 | if (is_null($collection)) { |
| 332 | 332 | $collection = Collection::fromIterable([]); |