@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Containers\ShipHero\Tasks; |
4 | 4 | |
5 | -use App\Containers\Artwork\Models\ArtworkSpecification; |
|
6 | 5 | use App\Containers\Artwork\Models\ArtworkType; |
7 | 6 | use App\Containers\PrintJob\Models\PrintJob; |
8 | 7 | use App\Containers\PrintJob\Tasks\UpdatePrintJobTask; |
@@ -27,7 +27,6 @@ |
||
27 | 27 | * @param $stateCode |
28 | 28 | * @param $zipCode |
29 | 29 | * @param null $countryCode |
30 | - * @param null $name |
|
31 | 30 | * @param null $email |
32 | 31 | * @param null $phone |
33 | 32 | * |
@@ -40,8 +40,6 @@ |
||
40 | 40 | * @param $stateCode |
41 | 41 | * @param $zipCode |
42 | 42 | * @param $countryCode |
43 | - * @param null $phone |
|
44 | - * @param null $email |
|
45 | 43 | * |
46 | 44 | * @return array |
47 | 45 | */ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * CreateStoreAction constructor. |
24 | 24 | * |
25 | - * @param \App\Containers\Artwork\Actions\CreateStoreTask $createStoreTask |
|
25 | + * @param CreateStoreTask $createStoreTask |
|
26 | 26 | */ |
27 | 27 | public function __construct(CreateStoreTask $createStoreTask) |
28 | 28 | { |
@@ -2,15 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Ship\Features\Seeders\Tests; |
4 | 4 | |
5 | -use App\Containers\Application\Actions\CreateApplicationWithTokenAction; |
|
6 | 5 | use App\Containers\Artwork\Models\ArtworkSpecification; |
7 | 6 | use App\Containers\Item\Models\Item; |
8 | 7 | use App\Containers\Item\Models\ItemType; |
9 | 8 | use App\Containers\Item\Models\ItemVariantName; |
10 | 9 | use App\Containers\Item\Models\ItemVariantValue; |
11 | 10 | use App\Containers\Item\Tests\ItemTestHelpersTrait; |
12 | -use App\Containers\Store\Actions\CreateStoreAction; |
|
13 | -use App\Containers\User\Actions\CreateUserAction; |
|
14 | 11 | use App\Ship\Parents\Seeders\Seeder; |
15 | 12 | use Illuminate\Support\Facades\App; |
16 | 13 |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | 'required_ship_date' => $order->created_at->addDays(7)->format('Y-m-d'), |
68 | 68 | // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
69 | 69 | |
70 | - 'email' => $recipient->email ? : '[email protected]', |
|
70 | + 'email' => $recipient->email ?: '[email protected]', |
|
71 | 71 | // 'note' => 'BOX-TYPE: ABC', |
72 | 72 | |
73 | 73 | 'shipping_lines' => [ |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | 'country_code' => $recipient->country_code, |
89 | 89 | 'city' => $recipient->city, |
90 | 90 | 'zip' => $recipient->zip_code, |
91 | - 'phone' => $recipient->phone ? : '0123456789', |
|
91 | + 'phone' => $recipient->phone ?: '0123456789', |
|
92 | 92 | 'company' => '', |
93 | 93 | ] |
94 | 94 | ]; |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use App\Containers\Artwork\Models\ArtworkSpecification; |
4 | 4 | use App\Containers\Artwork\Models\ArtworkType; |
5 | 5 | |
6 | -$factory->define(ArtworkSpecification::class, function (Faker\Generator $faker) { |
|
6 | +$factory->define(ArtworkSpecification::class, function(Faker\Generator $faker) { |
|
7 | 7 | return [ |
8 | 8 | 'name' => $faker->name(), |
9 | 9 | 'description' => $faker->text(50), |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use App\Containers\Artwork\Models\ArtworkType; |
4 | 4 | |
5 | -$factory->define(ArtworkType::class, function (Faker\Generator $faker) { |
|
5 | +$factory->define(ArtworkType::class, function(Faker\Generator $faker) { |
|
6 | 6 | return [ |
7 | 7 | 'name' => $faker->name(), |
8 | 8 | ]; |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('artwork_specification_item', function (Blueprint $table) { |
|
21 | + Schema::create('artwork_specification_item', function(Blueprint $table) { |
|
22 | 22 | $table->integer('item_id')->unsigned()->index(); |
23 | 23 | $table->foreign('item_id')->references('id')->on('items')->onDelete('cascade'); |
24 | 24 |