Passed
Push — main ( e16750...ac46d3 )
by Diego
03:02
created
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.
src/Client/Response/ApiResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         return $ret;
34 34
     }
35 35
 
36
-    public function getStatus(): int|bool
36
+    public function getStatus(): int | bool
37 37
     {
38 38
         return $this->status;
39 39
     }
Please login to merge, or discard this patch.
src/Tool/Inflect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
 
174 174
     public static function extractPrefix(string $method): string
175 175
     {
176
-        preg_match('/[A-Z]/', $method, $matches, PREG_OFFSET_CAPTURE );
176
+        preg_match('/[A-Z]/', $method, $matches, PREG_OFFSET_CAPTURE);
177 177
         return substr($method, 0, $matches[0][1]);
178 178
     }
179 179
 
Please login to merge, or discard this patch.