@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * Assign the permissions to the admin group. |
20 | 20 | */ |
21 | - \DB::table('permissions')->orderBy('created_at', 'asc')->whereIn('model', ['oauthClient'])->each(function ($permission) use ($adminGroupId) { |
|
21 | + \DB::table('permissions')->orderBy('created_at', 'asc')->whereIn('model', ['oauthClient'])->each(function($permission) use ($adminGroupId) { |
|
22 | 22 | \DB::table('groups_permissions')->insert( |
23 | 23 | [ |
24 | 24 | 'permission_id' => $permission->id, |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('oauth_access_tokens', function (Blueprint $table) { |
|
16 | + Schema::create('oauth_access_tokens', function(Blueprint $table) { |
|
17 | 17 | $table->string('id', 100)->primary(); |
18 | 18 | $table->integer('user_id')->index()->nullable(); |
19 | 19 | $table->integer('client_id'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('oauth_clients', function (Blueprint $table) { |
|
16 | + Schema::create('oauth_clients', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->integer('user_id')->index()->nullable(); |
19 | 19 | $table->string('name'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('oauth_personal_access_clients', function (Blueprint $table) { |
|
16 | + Schema::create('oauth_personal_access_clients', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->integer('client_id')->index(); |
19 | 19 | $table->timestamps(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('oauth_refresh_tokens', function (Blueprint $table) { |
|
16 | + Schema::create('oauth_refresh_tokens', function(Blueprint $table) { |
|
17 | 17 | $table->string('id', 100)->primary(); |
18 | 18 | $table->string('access_token_id', 100)->index(); |
19 | 19 | $table->boolean('revoked'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('oauth_auth_codes', function (Blueprint $table) { |
|
16 | + Schema::create('oauth_auth_codes', function(Blueprint $table) { |
|
17 | 17 | $table->string('id', 100)->primary(); |
18 | 18 | $table->integer('user_id'); |
19 | 19 | $table->integer('client_id'); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function toArray($request) |
17 | 17 | { |
18 | - if (! $this->resource) { |
|
18 | + if ( ! $this->resource) { |
|
19 | 19 | return []; |
20 | 20 | } |
21 | 21 |
@@ -11,7 +11,7 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Route::group(['prefix' => 'notifications'], function () { |
|
14 | +Route::group(['prefix' => 'notifications'], function() { |
|
15 | 15 | |
16 | 16 | Route::get('/', 'NotificationController@index'); |
17 | 17 | Route::get('unread', 'NotificationController@unread'); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function toArray($request) |
16 | 16 | { |
17 | - if (! $this->resource) { |
|
17 | + if ( ! $this->resource) { |
|
18 | 18 | return []; |
19 | 19 | } |
20 | 20 |