Passed
Push — master ( 36678d...55de3b )
by Mahmoud
05:42
created
config/config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php
2 2
 return [
3
-  "stubs_dir" => base_path('vendor/larafast/fastapi/resources/stubs'),
3
+    "stubs_dir" => base_path('vendor/larafast/fastapi/resources/stubs'),
4 4
 ];
Please login to merge, or discard this patch.
src/FastapiServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         $this->app->when(MigrationCreator::class)
45 45
             ->needs('$customStubPath')
46
-            ->give(function ($app) {
46
+            ->give(function($app) {
47 47
                 return base_path('vendor/larafast/fastapi/resources/stubs');
48 48
             });
49 49
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'fastApi');
60 60
 
61 61
         // Register the main class to use with the facade
62
-        $this->app->singleton('fastApi', function () {
62
+        $this->app->singleton('fastApi', function() {
63 63
             return new Fastapi;
64 64
         });
65 65
     }
Please login to merge, or discard this patch.
src/Console/Commands/PolicyMakeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,8 +117,8 @@  discard block
 block discarded – undo
117 117
     protected function getStub()
118 118
     {
119 119
         return $this->option('model')
120
-            ? config('fastApi.stubs_dir'). '/policy.stub'
121
-            : config('fastApi.stubs_dir'). '/policy.plain.stub';
120
+            ? config('fastApi.stubs_dir') . '/policy.stub'
121
+            : config('fastApi.stubs_dir') . '/policy.plain.stub';
122 122
     }
123 123
 
124 124
     /**
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     protected function getOptions()
141 141
     {
142 142
         return [
143
-            ['model', 'm', InputOption::VALUE_OPTIONAL, 'The model that the policy applies to'],
143
+            [ 'model', 'm', InputOption::VALUE_OPTIONAL, 'The model that the policy applies to' ],
144 144
         ];
145 145
     }
146 146
 }
Please login to merge, or discard this patch.