@@ -28,7 +28,7 @@ |
||
28 | 28 | /** |
29 | 29 | * ListTimeTrackerAction constructor. |
30 | 30 | * |
31 | - * @param \App\Containers\Tracker\Actions\TimeTrackerRepository $timeTrackerRepository |
|
31 | + * @param TimeTrackerRepository $timeTrackerRepository |
|
32 | 32 | * @param \App\Containers\User\Services\FindUserService $findUserService |
33 | 33 | */ |
34 | 34 | public function __construct(TimeTrackerRepository $timeTrackerRepository, FindUserService $findUserService) |
@@ -35,13 +35,13 @@ |
||
35 | 35 | */ |
36 | 36 | public function login($email, $password, $remember = false) |
37 | 37 | { |
38 | - if($remember){ |
|
38 | + if ($remember) { |
|
39 | 39 | $remember = true; |
40 | 40 | } |
41 | 41 | |
42 | 42 | $correct = $this->auth->attempt(['email' => $email, 'password' => $password], $remember); |
43 | 43 | |
44 | - if(!$correct){ |
|
44 | + if (!$correct) { |
|
45 | 45 | throw new AuthenticationFailedException(); |
46 | 46 | } |
47 | 47 |
@@ -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'); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('stripe_accounts', function (Blueprint $table) { |
|
21 | + Schema::create('stripe_accounts', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | $table->string('customer_id'); |
24 | 24 | $table->string('card_id')->nullable(); |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function up() |
18 | 18 | { |
19 | - Schema::create('time_tracker', function (Blueprint $table) { |
|
19 | + Schema::create('time_tracker', function(Blueprint $table) { |
|
20 | 20 | $table->increments('id'); |
21 | 21 | |
22 | 22 | $table->timestamp('open_at')->nullable(); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public function up() |
13 | 13 | { |
14 | - Schema::create('users', function (Blueprint $table) { |
|
14 | + Schema::create('users', function(Blueprint $table) { |
|
15 | 15 | $table->increments('id'); |
16 | 16 | $table->string('name'); |
17 | 17 |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public function up() |
13 | 13 | { |
14 | - Schema::create('password_resets', function (Blueprint $table) { |
|
14 | + Schema::create('password_resets', function(Blueprint $table) { |
|
15 | 15 | $table->string('email')->index(); |
16 | 16 | $table->string('token')->index(); |
17 | 17 | $table->timestamp('created_at'); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public function up() |
13 | 13 | { |
14 | - Schema::create('settings', function (Blueprint $table) { |
|
14 | + Schema::create('settings', function(Blueprint $table) { |
|
15 | 15 | $table->increments('id'); |
16 | 16 | $table->string('key')->unique(); |
17 | 17 | $table->string('value'); |
@@ -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, |