Passed
Push — main ( d581be...e16750 )
by Diego
02:53
created
src/Client/Response/ApiResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     protected bool $is_cached;
13 13
 
14
-    private function __construct(protected int|bool $status, protected ?array $data)
14
+    private function __construct(protected int | bool $status, protected ?array $data)
15 15
     {
16 16
     }
17 17
 
Please login to merge, or discard this patch.
src/Repository/CacheableRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function __construct(
28 28
         protected AbstractRepository $repository,
29
-        protected CacheInterface|TagAwareCacheInterface $cache,
29
+        protected CacheInterface | TagAwareCacheInterface $cache,
30 30
         protected KeyGeneratorInterface $generator,
31 31
         protected array $options = [
32 32
             ClientOptions::CLIENT_OPTION_REQUEST_HEADERS => []
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     public function create(AbstractModel $model): ?AbstractModel
73 73
     {
74 74
         $model = $this->repository->create($model);
75
-        if ($model?->isCacheable()) {
75
+        if ($model ? ->isCacheable()) {
76 76
             return $this->cacheModel($model);
77 77
         }
78 78
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     public function update(AbstractModel $model): ?AbstractModel
89 89
     {
90 90
         $model = $this->repository->update($model);
91
-        if ($model?->isCacheable()) {
91
+        if ($model ? ->isCacheable()) {
92 92
             return $this->cacheModel($model);
93 93
         }
94 94
 
Please login to merge, or discard this patch.