fixes for tests

This commit is contained in:
Dennis Eichhorn 2019-11-14 17:44:46 +01:00
parent ec7db03b39
commit f2ecd50bba
3 changed files with 8 additions and 8 deletions

View File

@ -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 */

View File

@ -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.

View File

@ -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.