mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Started to increase the phpstan level
This commit is contained in:
parent
71cd4057a7
commit
fc3290271c
29 changed files with 119 additions and 55 deletions
|
@ -86,7 +86,7 @@ class PartStockChangedLogEntry extends AbstractLogEntry
|
|||
* @param float $new_stock The new stock of the lot.
|
||||
* @param float $new_total_part_instock The new total instock of the part.
|
||||
* @param string $comment The comment associated with the change.
|
||||
* @return static
|
||||
* @return self
|
||||
*/
|
||||
public static function add(PartLot $lot, float $old_stock, float $new_stock, float $new_total_part_instock, string $comment): self
|
||||
{
|
||||
|
@ -100,7 +100,7 @@ class PartStockChangedLogEntry extends AbstractLogEntry
|
|||
* @param float $new_stock The new stock of the lot.
|
||||
* @param float $new_total_part_instock The new total instock of the part.
|
||||
* @param string $comment The comment associated with the change.
|
||||
* @return static
|
||||
* @return self
|
||||
*/
|
||||
public static function withdraw(PartLot $lot, float $old_stock, float $new_stock, float $new_total_part_instock, string $comment): self
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue