Fixing style errors.

This commit is contained in:
stickler-ci 2022-04-06 13:19:34 +00:00
parent 0b29b92b44
commit de6e3c6d55
2 changed files with 65 additions and 67 deletions

View File

@ -795,8 +795,7 @@ class Mo extends CommonObject
$this->db->commit(); $this->db->commit();
} }
return $moline->delete($user, $notrigger); return $moline->delete($user, $notrigger);
} } else {
else {
foreach ($arrayoflines as $key => $arrayofline) { foreach ($arrayoflines as $key => $arrayofline) {
$lineDetails = $arrayoflines[$key]; $lineDetails = $arrayoflines[$key];
$productstatic->fetch($lineDetails['fk_product']); $productstatic->fetch($lineDetails['fk_product']);
@ -821,8 +820,7 @@ class Mo extends CommonObject
} }
return $this->deleteLineCommon($user, $idline, $notrigger); return $this->deleteLineCommon($user, $idline, $notrigger);
} }
} } else {
else {
return $this->deleteLineCommon($user, $idline, $notrigger); return $this->deleteLineCommon($user, $idline, $notrigger);
} }
} }