Completed
Push — master ( 453e3c...2f13e8 )
by Mahmoud
18:11 queued 11:11
created
app/Containers/Application/Data/Factories/ApplicationFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use App\Containers\Application\Models\Application;
5 5
 use App\Containers\Store\Models\Store;
6 6
 
7
-$factory->define(Application::class, function (Faker\Generator $faker) {
7
+$factory->define(Application::class, function(Faker\Generator $faker) {
8 8
 
9 9
     return [
10 10
         'name'     => $faker->name,
Please login to merge, or discard this patch.
app/Containers/Stripe/Data/Factories/StripeFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use App\Containers\User\Models\User;
5 5
 use Faker\Generator;
6 6
 
7
-$factory->define(StripeAccount::class, function (Generator $faker) {
7
+$factory->define(StripeAccount::class, function(Generator $faker) {
8 8
     return [
9 9
         'customer_id'      => $faker->uuid(),
10 10
         'card_id'          => $faker->creditCardNumber(),
Please login to merge, or discard this patch.
app/Containers/PrintJob/Data/Factories/PrintJobFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use App\Containers\PrintJob\Models\PrintJob;
6 6
 use App\Containers\User\Models\User;
7 7
 
8
-$factory->define(PrintJob::class, function (Faker\Generator $faker) {
8
+$factory->define(PrintJob::class, function(Faker\Generator $faker) {
9 9
     return [
10 10
         'status'   => 'draft',
11 11
         'quantity' => $faker->numberBetween(3, 8),
Please login to merge, or discard this patch.
Data/Migrations/2016_10_21_110999_create_artwork_print_job_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('artwork_print_job', function (Blueprint $table) {
21
+        Schema::create('artwork_print_job', function(Blueprint $table) {
22 22
             $table->integer('print_job_id')->unsigned()->index();
23 23
             $table->foreign('print_job_id')->references('id')->on('print_jobs')->onDelete('cascade');
24 24
 
Please login to merge, or discard this patch.
PrintJob/Data/Migrations/2016_09_29_110947_create_print_jobs_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('print_jobs', function (Blueprint $table) {
21
+        Schema::create('print_jobs', function(Blueprint $table) {
22 22
             $table->increments('id');
23 23
 
24 24
             $table->integer('quantity')->default(1);
Please login to merge, or discard this patch.
app/Containers/Item/Tasks/UpdateItemTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
             'price'          => $price,
58 58
             'packaging_cost' => $packagingCost,
59 59
             'length'         => $length, // inches
60
-            'width'          => $width,  // inches
60
+            'width'          => $width, // inches
61 61
             'height'         => $height, // inches
62 62
             'weight'         => $weight, // ounces
63 63
             'quantity'       => $quantity,
Please login to merge, or discard this patch.
app/Containers/Item/Tasks/CreateItemTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
             $updateTrigger = true;
93 93
         }
94 94
 
95
-        if($updateTrigger){
95
+        if ($updateTrigger) {
96 96
             $item = $this->itemRepository->update($item->toArray(), $item->id);
97 97
         }
98 98
 
Please login to merge, or discard this patch.
app/Containers/Item/Models/ItemType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     public function scopeItemVariantNamesAndValues()
50 50
     {
51 51
         return $this->with([
52
-            'itemVariants' => function ($q) {
52
+            'itemVariants' => function($q) {
53 53
                 $q->with('itemVariantValues');
54 54
             }
55 55
         ]);
Please login to merge, or discard this patch.
app/Containers/Item/Models/Item.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         'sku',
30 30
         'packaging_cost',
31 31
         'length', // inches
32
-        'width',  // inches
32
+        'width', // inches
33 33
         'height', // inches
34 34
         'weight', // ounces
35 35
         'quantity',
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     public function scopeItemVariantNamesAndValues()
68 68
     {
69 69
         return $this->with([
70
-            'itemVariantValues' => function ($q) {
70
+            'itemVariantValues' => function($q) {
71 71
                 $q->with('itemVariantName');
72 72
             }
73 73
         ]);
Please login to merge, or discard this patch.