@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | $tableNames['roles'] = 'roles'; |
19 | 19 | $tableNames['model_has_roles'] = 'model_has_roles'; |
20 | 20 | |
21 | - Schema::create($tableNames['roles'], function (Blueprint $table) { |
|
21 | + Schema::create($tableNames['roles'], function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | $table->string('name'); |
24 | 24 | $table->string('guard_name'); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | }); |
27 | 27 | |
28 | 28 | |
29 | - Schema::create($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames) { |
|
29 | + Schema::create($tableNames['model_has_roles'], function(Blueprint $table) use ($tableNames) { |
|
30 | 30 | $table->unsignedInteger('role_id'); |
31 | 31 | $table->morphs('model'); |
32 | 32 |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | { |
7 | 7 | public function whenYouVisitUrl(...$url) |
8 | 8 | { |
9 | - $removeSlash = function ($url) { |
|
9 | + $removeSlash = function($url) { |
|
10 | 10 | return ltrim($url, "/"); |
11 | 11 | }; |
12 | 12 | |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | |
23 | 23 | public function whenYouCallAction(...$action) |
24 | 24 | { |
25 | - $addNamespace = function ($action) { |
|
25 | + $addNamespace = function($action) { |
|
26 | 26 | if ($action = ltrim($action, '\\')) { |
27 | 27 | return $action; |
28 | 28 | } |