@@ -24,7 +24,7 @@ |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | // Views |
27 | - $sourceViewsPath = __DIR__ . '/../resources/views'; |
|
27 | + $sourceViewsPath = __DIR__.'/../resources/views'; |
|
28 | 28 | $this->loadViewsFrom($sourceViewsPath, 'magiclink'); |
29 | 29 | $this->publishes([ |
30 | 30 | $sourceViewsPath => resource_path('views/vendor/magiclink'), |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::table('magic_links', function (Blueprint $table) { |
|
16 | + Schema::table('magic_links', function(Blueprint $table) { |
|
17 | 17 | $table->string('access_code')->nullable(); |
18 | 18 | }); |
19 | 19 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | public function down() |
27 | 27 | { |
28 | 28 | if (Schema::hasColumn('magic_links', 'access_code')) { |
29 | - Schema::table('magic_links', function (Blueprint $table) { |
|
29 | + Schema::table('magic_links', function(Blueprint $table) { |
|
30 | 30 | $table->dropColumn('access_code'); |
31 | 31 | }); |
32 | 32 | } |
@@ -17,9 +17,9 @@ |
||
17 | 17 | 'web', |
18 | 18 | ]) |
19 | 19 | ], |
20 | - function () { |
|
20 | + function() { |
|
21 | 21 | Route::get( |
22 | - config('magiclink.url.validate_path', 'magiclink') . '/{token}', |
|
22 | + config('magiclink.url.validate_path', 'magiclink').'/{token}', |
|
23 | 23 | 'MagicLink\Controllers\MagicLinkController@access' |
24 | 24 | ); |
25 | 25 | } |