mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-24 08:07:32 +01:00
Fixed some inspection issues.
This commit is contained in:
@@ -114,7 +114,7 @@ class Device extends PartsContainingDBElement
|
||||
{
|
||||
if($new_order_quantity < 0)
|
||||
{
|
||||
throw new \InvalidArgumentException("The new order quantity must not be negative!");
|
||||
throw new \InvalidArgumentException('The new order quantity must not be negative!');
|
||||
}
|
||||
$this->order_quantity = $new_order_quantity;
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user