@@ -68,7 +68,7 @@ |
||
| 68 | 68 | |
| 69 | 69 | public function search(array $params = []): ArrayCollection |
| 70 | 70 | { |
| 71 | - throw new Error("Method " . __FUNCTION__ . "not implemented for apì: " . self::API_ROOT); |
|
| 71 | + throw new Error("Method " . __FUNCTION__ . "not implemented for apì: " . self::API_ROOT); |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | public function create(AbstractModel $model): ?AbstractModel |
| 69 | 69 | { |
| 70 | 70 | $model = $this->repository->create($model); |
| 71 | - if ($model?->isCacheable()) { |
|
| 71 | + if ($model ? ->isCacheable()) { |
|
| 72 | 72 | return $this->cacheModel($model); |
| 73 | 73 | } |
| 74 | 74 | |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | public function update(AbstractModel $model): ?AbstractModel |
| 85 | 85 | { |
| 86 | 86 | $model = $this->repository->update($model); |
| 87 | - if ($model?->isCacheable()) { |
|
| 87 | + if ($model ? ->isCacheable()) { |
|
| 88 | 88 | return $this->cacheModel($model); |
| 89 | 89 | } |
| 90 | 90 | |