Passed
Pull Request — master (#126)
by Zing
04:30
created
src/QueryBuilderServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,12 +13,12 @@
 block discarded – undo
13 13
     public function boot(): void
14 14
     {
15 15
         QueryConfiguration::setPerPage((int) config('query-builder.per_page.default'));
16
-        QueryConfiguration::setPageName( (string) config('query-builder.per_page.key'));
17
-        if (! $this->app->runningInConsole()) {
16
+        QueryConfiguration::setPageName((string) config('query-builder.per_page.key'));
17
+        if (!$this->app->runningInConsole()) {
18 18
             return;
19 19
         }
20 20
 
21
-        if (! $this->app instanceof Laravel) {
21
+        if (!$this->app instanceof Laravel) {
22 22
             return;
23 23
         }
24 24
 
Please login to merge, or discard this patch.
src/QueryBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,6 +65,6 @@
 block discarded – undo
65 65
     {
66 66
         $result = $this->forwardCallTo($this->builder, $name, $arguments);
67 67
 
68
-        return $result === $this->builder?$this: $result;
68
+        return $result === $this->builder ? $this : $result;
69 69
     }
70 70
 }
Please login to merge, or discard this patch.