mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-01-30 15:38:41 +00:00
fixes for tests
This commit is contained in:
parent
ec7db03b39
commit
f2ecd50bba
|
|
@ -36,10 +36,10 @@ class Arrival
|
|||
/**
|
||||
* Order.
|
||||
*
|
||||
* @var int
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $order = '';
|
||||
private string $order = '';
|
||||
|
||||
/**
|
||||
* From.
|
||||
|
|
@ -71,7 +71,7 @@ class Arrival
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $acceptor = null;
|
||||
private ?int $acceptor = null;
|
||||
|
||||
/**
|
||||
* Warehouse.
|
||||
|
|
@ -79,7 +79,7 @@ class Arrival
|
|||
* @var \Modules\Warehousing\Models\ArrivalStatus
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $status = null;
|
||||
private ?int $status = null;
|
||||
|
||||
/* TODO: count, packaging, product count etc.... for every single position + where do you put it */
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class Article
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $id = null;
|
||||
private int $id = 0;
|
||||
|
||||
/**
|
||||
* Name.
|
||||
|
|
@ -63,7 +63,7 @@ class Article
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private string $sector = null;
|
||||
private string ?$sector = null;
|
||||
|
||||
/**
|
||||
* Group.
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ class Shipping
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $sender = null;
|
||||
private ?int $sender = null;
|
||||
|
||||
/**
|
||||
* Warehouse.
|
||||
|
|
@ -79,7 +79,7 @@ class Shipping
|
|||
* @var \Modules\Warehousing\Models\ArrivalStatus
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $status = null;
|
||||
private ?int $status = null;
|
||||
|
||||
/**
|
||||
* Shipping.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user