Passed
Push — master ( a50708...5e7214 )
by Gianluca
04:57
created
src/Seedeers/DetailTypeSeeder.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 
11 11
 class DetailTypeSeeder extends Seeder
12 12
 {
13
-     public function run(){
14
-         foreach (DetailTypes::all() as $detail) {
15
-             DB::table('detail_type')->insert(['name' => $detail]);
16
-         }
17
-     }
13
+        public function run(){
14
+            foreach (DetailTypes::all() as $detail) {
15
+                DB::table('detail_type')->insert(['name' => $detail]);
16
+            }
17
+        }
18 18
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
 class DetailTypeSeeder extends Seeder
12 12
 {
13
-     public function run(){
13
+     public function run() {
14 14
          foreach (DetailTypes::all() as $detail) {
15 15
              DB::table('detail_type')->insert(['name' => $detail]);
16 16
          }
Please login to merge, or discard this patch.
database/migrations/2020_12_02_085260_create_details_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('detail', function (Blueprint $table) {
16
+        Schema::create('detail', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->unsignedBigInteger('category_id');
Please login to merge, or discard this patch.
database/migrations/2020_12_02_085260_create_detail_type_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('detail_type', function (Blueprint $table) {
16
+        Schema::create('detail_type', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2020_12_07_082327_create_type_payment_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('payment_type', function (Blueprint $table) {
16
+        Schema::create('payment_type', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2020_12_07_082433_create_order_products.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('product_order', function (Blueprint $table) {
16
+        Schema::create('product_order', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->unsignedBigInteger('order_id');
19 19
             $table->unsignedBigInteger('product_id');
Please login to merge, or discard this patch.
database/migrations/2020_12_02_085259_create_subcategories_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('subcategories', function (Blueprint $table) {
16
+        Schema::create('subcategories', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->unsignedBigInteger('category_id');
Please login to merge, or discard this patch.