Passed
Push — main ( 904efe...be769d )
by Diego
03:17
created
src/Repository/Uploads.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Repository/CacheableRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.