@@ -28,6 +28,6 @@ |
||
28 | 28 | */ |
29 | 29 | public function handle() |
30 | 30 | { |
31 | - $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL); |
|
31 | + $this->comment(PHP_EOL . Inspiring::quote() . PHP_EOL); |
|
32 | 32 | } |
33 | 33 | } |
@@ -32,6 +32,6 @@ |
||
32 | 32 | protected function schedule(Schedule $schedule) |
33 | 33 | { |
34 | 34 | $schedule->command('inspire') |
35 | - ->hourly(); |
|
35 | + ->hourly(); |
|
36 | 36 | } |
37 | 37 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $locale = $request->header('Content-Language'); |
39 | 39 | |
40 | 40 | // if the header is missed |
41 | - if(!$locale){ |
|
41 | + if (!$locale) { |
|
42 | 42 | // take the default local language |
43 | 43 | $locale = $this->app->config->get('app.locale'); |
44 | 44 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | { |
35 | 35 | $containersNames = []; |
36 | 36 | |
37 | - foreach($this->getContainersPaths() as $containersPath){ |
|
37 | + foreach ($this->getContainersPaths() as $containersPath) { |
|
38 | 38 | $containersNames[] = basename($containersPath); |
39 | 39 | } |
40 | 40 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public function buildMainServiceProvider($containersNamespace, $containerName) |
63 | 63 | { |
64 | - if($containerName != 'Port') { |
|
64 | + if ($containerName != 'Port') { |
|
65 | 65 | return $containersNamespace . "\\Containers\\" . $containerName . "\\Providers\\" . $containerName . "ServiceProvider"; |
66 | 66 | } |
67 | 67 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function register() |
20 | 20 | { |
21 | - $this->app->bind('PortButler', function () { |
|
21 | + $this->app->bind('PortButler', function() { |
|
22 | 22 | return $this->app->make(PortButler::class); |
23 | 23 | }); |
24 | 24 | } |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use App\Containers\Stripe\Repositories\Eloquent\StripeAccountRepository; |
7 | 7 | use App\Containers\User\Models\User; |
8 | 8 | use App\Port\Action\Abstracts\Action; |
9 | -use Auth; |
|
10 | 9 | |
11 | 10 | /** |
12 | 11 | * Class CreateStripeAccountAction. |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * @param \App\Containers\User\Actions\FindUserByIdAction $findUserByIdAction |
22 | 22 | * @param \App\Containers\Email\Actions\ValidateConfirmationCodeAction $validateConfirmationCodeAction |
23 | 23 | * |
24 | - * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector |
|
24 | + * @return \Illuminate\Http\RedirectResponse |
|
25 | 25 | */ |
26 | 26 | public function confirmUserEmail( |
27 | 27 | ConfirmUserEmailRequest $confirmUserEmailRequest, |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('paypal_accounts', function (Blueprint $table) { |
|
21 | + Schema::create('paypal_accounts', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('some_id'); |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | // User |
4 | -$factory->define(App\Containers\User\Models\User::class, function (Faker\Generator $faker) { |
|
4 | +$factory->define(App\Containers\User\Models\User::class, function(Faker\Generator $faker) { |
|
5 | 5 | return [ |
6 | 6 | 'name' => $faker->name, |
7 | 7 | 'email' => $faker->email, |