@@ -13,14 +13,14 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('payees', function (Blueprint $table) { |
|
16 | + Schema::create('payees', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->integer('last_category_id')->unsigned()->nullable(); |
19 | 19 | $table->string('name')->unique(); |
20 | 20 | $table->timestamps(); |
21 | 21 | }); |
22 | 22 | |
23 | - Schema::table('payees', function (Blueprint $table) { |
|
23 | + Schema::table('payees', function(Blueprint $table) { |
|
24 | 24 | $table->foreign('last_category_id')->references('id')->on('categories'); |
25 | 25 | }); |
26 | 26 | } |
@@ -19,8 +19,8 @@ |
||
19 | 19 | /* |
20 | 20 | * Authenticate the user's personal channel... |
21 | 21 | */ |
22 | - Broadcast::channel('App.User.*', function ($user, $userId) { |
|
23 | - return (int) $user->id === (int) $userId; |
|
22 | + Broadcast::channel('App.User.*', function($user, $userId) { |
|
23 | + return (int)$user->id === (int)$userId; |
|
24 | 24 | }); |
25 | 25 | } |
26 | 26 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | Route::group([ |
55 | 55 | 'middleware' => 'web', |
56 | 56 | 'namespace' => $this->namespace, |
57 | - ], function ($router) { |
|
57 | + ], function($router) { |
|
58 | 58 | require base_path('routes/web.php'); |
59 | 59 | }); |
60 | 60 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | Route::group([ |
72 | 72 | 'middleware' => 'api', |
73 | 73 | 'namespace' => $this->namespace.'\Api', |
74 | - ], function ($router) { |
|
74 | + ], function($router) { |
|
75 | 75 | require base_path('routes/api.php'); |
76 | 76 | }); |
77 | 77 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * |
9 | 9 | * @version 1.0 |
10 | 10 | */ |
11 | -$factory->define(App\Models\Payee::class, function (Faker\Generator $faker) { |
|
11 | +$factory->define(App\Models\Payee::class, function(Faker\Generator $faker) { |
|
12 | 12 | return [ |
13 | 13 | 'name' => $faker->name, |
14 | 14 | ]; |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * |
9 | 9 | * @version 1.0 |
10 | 10 | */ |
11 | -$factory->define(App\Models\Category::class, function (Faker\Generator $faker) { |
|
11 | +$factory->define(App\Models\Category::class, function(Faker\Generator $faker) { |
|
12 | 12 | return [ |
13 | 13 | 'name' => $faker->name, |
14 | 14 | ]; |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * |
9 | 9 | * @version 1.0 |
10 | 10 | */ |
11 | -$factory->define(App\Models\Account::class, function (Faker\Generator $faker) { |
|
11 | +$factory->define(App\Models\Account::class, function(Faker\Generator $faker) { |
|
12 | 12 | return [ |
13 | 13 | 'name' => $faker->name, |
14 | 14 | ]; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public function up() |
13 | 13 | { |
14 | - Schema::create('media', function (Blueprint $table) { |
|
14 | + Schema::create('media', function(Blueprint $table) { |
|
15 | 15 | $table->increments('id'); |
16 | 16 | $table->morphs('model'); |
17 | 17 | $table->string('collection_name'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('transaction_status', function (Blueprint $table) { |
|
16 | + Schema::create('transaction_status', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name'); |
19 | 19 | $table->string('slug')->unique(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('transaction_types', function (Blueprint $table) { |
|
16 | + Schema::create('transaction_types', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name'); |
19 | 19 | $table->string('slug')->unique(); |