Passed
Pull Request — master (#21)
by Mostafa
02:52
created
src/LaraCacheServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'laracache');
19 19
 
20
-        $this->app->bind('laracache', function () {
20
+        $this->app->bind('laracache', function() {
21 21
             return new LaraCache;
22 22
         });
23 23
     }
Please login to merge, or discard this patch.
src/Utils/CacheEnum.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 abstract class CacheEnum
6 6
 {
7
-    public function __construct(protected int|string $value) {}
7
+    public function __construct(protected int | string $value) {}
8 8
 
9 9
     public static function __callStatic(string $name, array $arguments): self
10 10
     {
11 11
         return new static($name);
12 12
     }
13 13
 
14
-    public function getValue(): int|string
14
+    public function getValue(): int | string
15 15
     {
16 16
         return $this->value;
17 17
     }
Please login to merge, or discard this patch.
src/CacheEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
             $this->queueConnection = $queue['connection'] ?? config('queue.default');
127 127
         }
128 128
         else {
129
-            $this->isQueueable = (bool)$queue;
129
+            $this->isQueueable = (bool) $queue;
130 130
             $this->queueName = 'default';
131 131
             $this->queueConnection = config('queue.default');
132 132
         }
Please login to merge, or discard this patch.