@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('receipts', function (Blueprint $table) { |
|
21 | + Schema::create('receipts', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->float('amount')->default(0.0); |
@@ -4,7 +4,7 @@ |
||
4 | 4 | use App\Containers\Integration\Models\Platform; |
5 | 5 | use App\Containers\User\Models\User; |
6 | 6 | |
7 | -$factory->define(Integration::class, function (Faker\Generator $faker) { |
|
7 | +$factory->define(Integration::class, function(Faker\Generator $faker) { |
|
8 | 8 | return [ |
9 | 9 | 'title' => $faker->text(10), |
10 | 10 | 'user_id' => factory(User::class)->create()->id, |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use App\Containers\Integration\Models\Platform; |
4 | 4 | |
5 | -$factory->define(Platform::class, function (Faker\Generator $faker) { |
|
5 | +$factory->define(Platform::class, function(Faker\Generator $faker) { |
|
6 | 6 | return [ |
7 | 7 | 'title' => $faker->text(10), |
8 | 8 | ]; |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('platforms', function (Blueprint $table) { |
|
21 | + Schema::create('platforms', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('title'); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('integrations', function (Blueprint $table) { |
|
21 | + Schema::create('integrations', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('title'); |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use App\Containers\Invoice\Models\Invoice; |
4 | 4 | |
5 | -$factory->define(Invoice::class, function (Faker\Generator $faker) { |
|
5 | +$factory->define(Invoice::class, function(Faker\Generator $faker) { |
|
6 | 6 | return [ |
7 | 7 | 'total' => $faker->randomFloat(2, 99, 3000), |
8 | 8 | 'items_cost' => $faker->randomFloat(2, 99, 3000), |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('invoices', function (Blueprint $table) { |
|
21 | + Schema::create('invoices', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->float('total')->default(0.0); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | */ |
32 | 32 | public function getApplicationTokenHeader($user = null, $appName = 'Testing App') |
33 | 33 | { |
34 | - $developerUser = $this->setupTestingUserAccess($user ? : $this->getTestingUser(), ['roles' => 'developer']); |
|
34 | + $developerUser = $this->setupTestingUserAccess($user ?: $this->getTestingUser(), ['roles' => 'developer']); |
|
35 | 35 | |
36 | 36 | $store = factory(Store::class)->create([ |
37 | 37 | 'user_id' => $developerUser->id |