Test Failed
Push — master ( 07c9b9...05d0b0 )
by Mike
03:21
created
src/CachedBuilder.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
     public function avg($column)
14 14
     {
15
-        if (! $this->isCachable) {
15
+        if (!$this->isCachable) {
16 16
             return parent::avg($column);
17 17
         }
18 18
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function count($columns = ['*'])
27 27
     {
28
-        if (! $this->isCachable) {
28
+        if (!$this->isCachable) {
29 29
             return parent::count($columns);
30 30
         }
31 31
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     public function cursor()
40 40
     {
41
-        if (! $this->isCachable) {
41
+        if (!$this->isCachable) {
42 42
             return collect(parent::cursor());
43 43
         }
44 44
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function find($id, $columns = ['*'])
64 64
     {
65
-        if (! $this->isCachable) {
65
+        if (!$this->isCachable) {
66 66
             return parent::find($id, $columns);
67 67
         }
68 68
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
     public function first($columns = ['*'])
77 77
     {
78
-        if (! $this->isCachable) {
78
+        if (!$this->isCachable) {
79 79
             return parent::first($columns);
80 80
         }
81 81
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
     public function get($columns = ['*'])
90 90
     {
91
-        if (! $this->isCachable) {
91
+        if (!$this->isCachable) {
92 92
             return parent::get($columns);
93 93
         }
94 94
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
     public function max($column)
103 103
     {
104
-        if (! $this->isCachable) {
104
+        if (!$this->isCachable) {
105 105
             return parent::max($column);
106 106
         }
107 107
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
     public function min($column)
116 116
     {
117
-        if (! $this->isCachable) {
117
+        if (!$this->isCachable) {
118 118
             return parent::min($column);
119 119
         }
120 120
 
@@ -127,11 +127,11 @@  discard block
 block discarded – undo
127 127
 
128 128
     public function pluck($column, $key = null)
129 129
     {
130
-        if (! $this->isCachable) {
130
+        if (!$this->isCachable) {
131 131
             return parent::pluck($column, $key);
132 132
         }
133 133
 
134
-        $keyDifferentiator = "-pluck_{$column}" . ($key ? "_{$key}" : "");
134
+        $keyDifferentiator = "-pluck_{$column}".($key ? "_{$key}" : "");
135 135
         $arguments = func_get_args();
136 136
         $cacheKey = $this->makeCacheKey([$column], null, $keyDifferentiator);
137 137
         $method = 'pluck';
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 
142 142
     public function sum($column)
143 143
     {
144
-        if (! $this->isCachable) {
144
+        if (!$this->isCachable) {
145 145
             return parent::sum($column);
146 146
         }
147 147
 
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
     public function value($column)
156 156
     {
157
-        if (! $this->isCachable) {
157
+        if (!$this->isCachable) {
158 158
             return parent::value($column);
159 159
         }
160 160
 
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
         return $this->cache($cacheTags)
204 204
             ->rememberForever(
205 205
                 $hashedCacheKey,
206
-                function () use ($arguments, $cacheKey, $method) {
206
+                function() use ($arguments, $cacheKey, $method) {
207 207
                     return [
208 208
                         'key' => $cacheKey,
209 209
                         'value' => parent::{$method}(...$arguments),
Please login to merge, or discard this patch.