@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('frontend_pages', function (Blueprint $table) { |
|
| 15 | + Schema::create('frontend_pages', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('parent_page_id'); |
| 18 | 18 | $table->string('slug'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('template_types', function (Blueprint $table) { |
|
| 15 | + Schema::create('template_types', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->timestamps(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('product_bundle_relations', function (Blueprint $table) { |
|
| 15 | + Schema::create('product_bundle_relations', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('product_id')->unsigned(); |
| 18 | 18 | $table->foreign('product_id')->references('id')->on('products'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('group_features', function (Blueprint $table) { |
|
| 15 | + Schema::create('group_features', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('group_id')->unsigned(); |
| 18 | 18 | $table->foreign('group_id')->references('id')->on('product_groups'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('widgets', function (Blueprint $table) { |
|
| 15 | + Schema::create('widgets', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->string('type'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('promotion_types', function (Blueprint $table) { |
|
| 15 | + Schema::create('promotion_types', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->timestamps(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('plans', function (Blueprint $table) { |
|
| 15 | + Schema::create('plans', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->string('description'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('promo_product_relations', function (Blueprint $table) { |
|
| 15 | + Schema::create('promo_product_relations', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('promotion_id')->unsigned(); |
| 18 | 18 | $table->foreign('promotion_id')->references('id')->on('promotions'); |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | * |
| 67 | 67 | * @param Request $request |
| 68 | 68 | * |
| 69 | - * @return Response |
|
| 69 | + * @return \Illuminate\Http\RedirectResponse |
|
| 70 | 70 | */ |
| 71 | 71 | public function postReset(Request $request) |
| 72 | 72 | { |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | 'email', 'password', 'password_confirmation', 'token' |
| 81 | 81 | ); |
| 82 | 82 | |
| 83 | - $response = \Password::reset($credentials, function ($user, $password) { |
|
| 83 | + $response = \Password::reset($credentials, function($user, $password) { |
|
| 84 | 84 | $user->password = bcrypt($password); |
| 85 | 85 | |
| 86 | 86 | $user->save(); |