Passed
Push — master ( 6a0ada...813e7d )
by Jan
03:50
created
src/Form/Part/PartLotType.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
             'label' => 'part_lot.edit.location',
58 58
             'disable_not_selectable' => true, 'attr' => ['class' => 'form-control-sm']]);
59 59
 
60
-        $builder->add('amount',NumberType::class, [ 'html5' => true,
60
+        $builder->add('amount', NumberType::class, ['html5' => true,
61 61
             'label' => 'part_lot.edit.amount',
62 62
             'attr' => ['class' => 'form-control-sm', 'min' => 0, 'step' => 'any']
63 63
         ]);
Please login to merge, or discard this patch.
src/Entity/Parts/PartLot.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function getIDString(): string
117 117
     {
118
-        return 'PL' . $this->getID();
118
+        return 'PL'.$this->getID();
119 119
     }
120 120
 
121 121
     /**
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 
269 269
     public function setAmount(float $new_amount): PartLot
270 270
     {
271
-        $this->amount  = $new_amount;
271
+        $this->amount = $new_amount;
272 272
         return $this;
273 273
     }
274 274
 
Please login to merge, or discard this patch.