Completed
Push — master ( 65cebc...4cd60a )
by Bas
06:06
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
 
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
             'type', 'column', 'operator', 'value', 'boolean'
277 277
         );
278 278
 
279
-        if (! $value instanceof Expression) {
279
+        if (!$value instanceof Expression) {
280 280
             $this->addBinding($value, 'where');
281 281
         }
282 282
 
@@ -312,8 +312,8 @@  discard block
 block discarded – undo
312 312
      */
313 313
     protected function invalidOperator($operator)
314 314
     {
315
-        return ! in_array(strtolower($operator), $this->operators, true) &&
316
-            ! isset($this->grammar->getOperators()[strtoupper($operator)]);
315
+        return !in_array(strtolower($operator), $this->operators, true) &&
316
+            !isset($this->grammar->getOperators()[strtoupper($operator)]);
317 317
     }
318 318
 
319 319
     /**
Please login to merge, or discard this patch.