@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function map(Router $router) |
| 39 | 39 | { |
| 40 | - $router->group(['namespace' => $this->namespace], function ($router) { |
|
| 40 | + $router->group([ 'namespace' => $this->namespace ], function($router) { |
|
| 41 | 41 | require app_path('Http/routes.php'); |
| 42 | 42 | }); |
| 43 | 43 | } |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('users', function (Blueprint $table) { |
|
| 15 | + Schema::create('users', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->string('email')->unique(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('password_resets', function (Blueprint $table) { |
|
| 15 | + Schema::create('password_resets', function(Blueprint $table) { |
|
| 16 | 16 | $table->string('email')->index(); |
| 17 | 17 | $table->string('token')->index(); |
| 18 | 18 | $table->timestamp('created_at'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | | |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -$factory->define(App\User::class, function (Faker\Generator $faker) { |
|
| 14 | +$factory->define(App\User::class, function(Faker\Generator $faker) { |
|
| 15 | 15 | return [ |
| 16 | 16 | 'name' => $faker->name, |
| 17 | 17 | 'email' => $faker->safeEmail, |
@@ -105,6 +105,6 @@ |
||
| 105 | 105 | | |
| 106 | 106 | */ |
| 107 | 107 | |
| 108 | - 'attributes' => [], |
|
| 108 | + 'attributes' => [ ], |
|
| 109 | 109 | |
| 110 | 110 | ]; |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | | |
| 55 | 55 | */ |
| 56 | 56 | |
| 57 | - 'from' => ['address' => null, 'name' => null], |
|
| 57 | + 'from' => [ 'address' => null, 'name' => null ], |
|
| 58 | 58 | |
| 59 | 59 | /* |
| 60 | 60 | |-------------------------------------------------------------------------- |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | | |
| 97 | 97 | */ |
| 98 | 98 | |
| 99 | - 'lottery' => [2, 100], |
|
| 99 | + 'lottery' => [ 2, 100 ], |
|
| 100 | 100 | |
| 101 | 101 | /* |
| 102 | 102 | |-------------------------------------------------------------------------- |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | | |
| 99 | 99 | */ |
| 100 | 100 | |
| 101 | - 'required_claims' => ['iss', 'iat', 'exp', 'nbf', 'sub', 'jti'], |
|
| 101 | + 'required_claims' => [ 'iss', 'iat', 'exp', 'nbf', 'sub', 'jti' ], |
|
| 102 | 102 | |
| 103 | 103 | /* |
| 104 | 104 | |-------------------------------------------------------------------------- |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function register() |
| 28 | 28 | { |
| 29 | - $this->app->bind(EncoderInterface::class, function () { |
|
| 29 | + $this->app->bind(EncoderInterface::class, function() { |
|
| 30 | 30 | return Encoder::instance( |
| 31 | 31 | config('jsonapi.schemas'), |
| 32 | 32 | new EncoderOptions(0, config('app.url')) |