mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 18:04:33 +02:00
Fixed some inspection issues
This commit is contained in:
parent
c6f1758a18
commit
8ae4e9fe05
39 changed files with 46 additions and 56 deletions
|
@ -259,7 +259,7 @@ class PartLot extends AbstractDBElement implements TimeStampableInterface, Named
|
|||
return round($this->amount);
|
||||
}
|
||||
|
||||
return (float) $this->amount;
|
||||
return $this->amount;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -107,7 +107,7 @@ class Storelocation extends AbstractPartsContainingDBElement
|
|||
*/
|
||||
public function isFull(): bool
|
||||
{
|
||||
return (bool) $this->is_full;
|
||||
return $this->is_full;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue