@@ -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 |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function whenYouVisitUrl(...$url) |
14 | 14 | { |
15 | - $removeSlash = function ($url) { |
|
15 | + $removeSlash = function($url) { |
|
16 | 16 | return ltrim($url, "/"); |
17 | 17 | }; |
18 | 18 | |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | */ |
37 | 37 | public function whenYouCallAction(...$action) |
38 | 38 | { |
39 | - $addNamespace = function ($action) { |
|
39 | + $addNamespace = function($action) { |
|
40 | 40 | if ($action = ltrim($action, '\\')) { |
41 | 41 | return $action; |
42 | 42 | } |