@@ -3,7 +3,7 @@ |
||
3 | 3 | use App\Containers\Item\Models\Item; |
4 | 4 | use App\Containers\Item\Models\ItemType; |
5 | 5 | |
6 | -$factory->define(Item::class, function (Faker\Generator $faker) { |
|
6 | +$factory->define(Item::class, function(Faker\Generator $faker) { |
|
7 | 7 | return [ |
8 | 8 | 'name' => $faker->name(), |
9 | 9 | 'description' => $faker->text(20), |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use App\Containers\Item\Models\ItemVariantValue; |
4 | 4 | |
5 | -$factory->define(ItemVariantValue::class, function (Faker\Generator $faker) { |
|
5 | +$factory->define(ItemVariantValue::class, function(Faker\Generator $faker) { |
|
6 | 6 | return [ |
7 | 7 | 'value' => $faker->lastName(), |
8 | 8 | ]; |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use App\Containers\Item\Models\ItemVariantName; |
4 | 4 | |
5 | -$factory->define(ItemVariantName::class, function (Faker\Generator $faker) { |
|
5 | +$factory->define(ItemVariantName::class, function(Faker\Generator $faker) { |
|
6 | 6 | return [ |
7 | 7 | 'name' => $faker->firstName(), |
8 | 8 | ]; |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use App\Containers\Item\Models\ItemType; |
4 | 4 | |
5 | -$factory->define(ItemType::class, function (Faker\Generator $faker) { |
|
5 | +$factory->define(ItemType::class, function(Faker\Generator $faker) { |
|
6 | 6 | return [ |
7 | 7 | 'name' => $faker->name(), |
8 | 8 | 'description' => $faker->name(), |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('item_variant_values', function (Blueprint $table) { |
|
21 | + Schema::create('item_variant_values', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | $table->string('value'); |
24 | 24 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('item_variant_names', function (Blueprint $table) { |
|
21 | + Schema::create('item_variant_names', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | $table->string('name'); |
24 | 24 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('item_images', function (Blueprint $table) { |
|
21 | + Schema::create('item_images', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('source'); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('items', function (Blueprint $table) { |
|
21 | + Schema::create('items', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | $table->string('sku')->unique(); |
24 | 24 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('item_types', function (Blueprint $table) { |
|
21 | + Schema::create('item_types', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('name')->unique(); |