@@ -13,11 +13,11 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('users', function (Blueprint $table) { |
|
| 16 | + Schema::table('users', function(Blueprint $table) { |
|
| 17 | 17 | $table->integer('activated')->default(0); |
| 18 | 18 | }); |
| 19 | 19 | |
| 20 | - Schema::table('users', function (Blueprint $table) { |
|
| 20 | + Schema::table('users', function(Blueprint $table) { |
|
| 21 | 21 | $table->string('email_token')->nullable(); |
| 22 | 22 | }); |
| 23 | 23 | } |
@@ -29,11 +29,11 @@ discard block |
||
| 29 | 29 | */ |
| 30 | 30 | public function down() |
| 31 | 31 | { |
| 32 | - Schema::table('users', function (Blueprint $table) { |
|
| 32 | + Schema::table('users', function(Blueprint $table) { |
|
| 33 | 33 | $table->dropColumn('activated'); |
| 34 | 34 | }); |
| 35 | 35 | |
| 36 | - Schema::table('users', function (Blueprint $table) { |
|
| 36 | + Schema::table('users', function(Blueprint $table) { |
|
| 37 | 37 | $table->dropColumn('email_token'); |
| 38 | 38 | }); |
| 39 | 39 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | public function boot() |
| 27 | 27 | { |
| 28 | 28 | // |
| 29 | - Route::bind('linkHash', function ($hash) { |
|
| 29 | + Route::bind('linkHash', function($hash) { |
|
| 30 | 30 | try { |
| 31 | 31 | return Link::where('hash', $hash)->firstOrFail(); |
| 32 | 32 | } catch (ModelNotFoundException $e) { |