Passed
Push — master ( 0663a0...89258b )
by Jan
04:32
created
src/Entity/PriceInformations/Pricedetail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      */
181 181
     public function getPriceRelatedQuantity(): float
182 182
     {
183
-        if ($this->orderdetail  && $this->orderdetail->getPart() && !$this->orderdetail->getPart()->useFloatAmount()) {
183
+        if ($this->orderdetail && $this->orderdetail->getPart() && !$this->orderdetail->getPart()->useFloatAmount()) {
184 184
             $tmp = round($this->price_related_quantity);
185 185
             return $tmp < 1 ? 1 : $tmp;
186 186
         }
@@ -322,6 +322,6 @@  discard block
 block discarded – undo
322 322
      */
323 323
     public function getIDString(): string
324 324
     {
325
-        return 'PD' . sprintf('%06d', $this->getID());
325
+        return 'PD'.sprintf('%06d', $this->getID());
326 326
     }
327 327
 }
Please login to merge, or discard this patch.