Passed
Push — master ( de4b3f...0f9a6c )
by Bas
03:26 queued 11s
created
src/Query/Builder.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $this->connection = $connection;
57 57
         $this->grammar = $grammar ?: $connection->getQueryGrammar();
58 58
         $this->processor = $processor ?: $connection->getPostProcessor();
59
-        if (! $aqb instanceof QueryBuilder) {
59
+        if (!$aqb instanceof QueryBuilder) {
60 60
             $aqb = new QueryBuilder();
61 61
         }
62 62
         $this->aqb = $aqb;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function get($columns = ['*'])
145 145
     {
146
-        $results = collect($this->onceWithColumns(Arr::wrap($columns), function () {
146
+        $results = collect($this->onceWithColumns(Arr::wrap($columns), function() {
147 147
             return $this->runSelect();
148 148
         }));
149 149
 
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 
204 204
         $this->aqb = new QueryBuilder();
205 205
 
206
-        if (! $results->isEmpty()) {
206
+        if (!$results->isEmpty()) {
207 207
             return array_change_key_case((array) $results[0])['aggregate'];
208 208
         }
209 209
 
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
             'type', 'column', 'operator', 'value', 'boolean'
279 279
         );
280 280
 
281
-        if (! $value instanceof Expression) {
281
+        if (!$value instanceof Expression) {
282 282
             $this->addBinding($value, 'where');
283 283
         }
284 284
 
@@ -314,8 +314,8 @@  discard block
 block discarded – undo
314 314
      */
315 315
     protected function invalidOperator($operator)
316 316
     {
317
-        return ! in_array(strtolower($operator), $this->operators, true) &&
318
-            ! isset($this->grammar->getOperators()[strtolower($operator)]);
317
+        return !in_array(strtolower($operator), $this->operators, true) &&
318
+            !isset($this->grammar->getOperators()[strtolower($operator)]);
319 319
     }
320 320
 
321 321
     /**
Please login to merge, or discard this patch.