@@ -1,4 +1,4 @@ |
||
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 | ]; |
@@ -43,7 +43,7 @@ discard block |
||
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 |
||
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 | } |
@@ -117,8 +117,8 @@ discard block |
||
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 |
||
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 | } |