mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-02-11 20:08:39 +00:00
fix after change to php 7.4
This commit is contained in:
parent
9b9d9d54b3
commit
d14831175b
|
|
@ -31,7 +31,7 @@ class Arrival
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $id = 0;
|
||||
private int $id = 0;
|
||||
|
||||
/**
|
||||
* Order.
|
||||
|
|
@ -39,7 +39,7 @@ class Arrival
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $order = '';
|
||||
private int $order = '';
|
||||
|
||||
/**
|
||||
* From.
|
||||
|
|
@ -63,7 +63,7 @@ class Arrival
|
|||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $date = null;
|
||||
private ?\DateTime $date = null;
|
||||
|
||||
/**
|
||||
* Person who accepted the delivery.
|
||||
|
|
@ -71,7 +71,7 @@ class Arrival
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $acceptor = null;
|
||||
private int $acceptor = null;
|
||||
|
||||
/**
|
||||
* Warehouse.
|
||||
|
|
@ -89,7 +89,7 @@ class Arrival
|
|||
* @var \Modules\Warehousing\Models\Arrival[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static $instances = [];
|
||||
private static array $instances = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class Article
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $id = null;
|
||||
private int $id = null;
|
||||
|
||||
/**
|
||||
* Name.
|
||||
|
|
@ -37,7 +37,7 @@ class Article
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $name = '';
|
||||
private string $name = '';
|
||||
|
||||
/**
|
||||
* Description.
|
||||
|
|
@ -45,7 +45,7 @@ class Article
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $description = '';
|
||||
private string $description = '';
|
||||
|
||||
/**
|
||||
* Matchcode.
|
||||
|
|
@ -53,7 +53,7 @@ class Article
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $matchcode = '';
|
||||
private string $matchcode = '';
|
||||
|
||||
/**
|
||||
* Sector.
|
||||
|
|
@ -61,7 +61,7 @@ class Article
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $sector = null;
|
||||
private string $sector = null;
|
||||
|
||||
/**
|
||||
* Group.
|
||||
|
|
@ -69,7 +69,7 @@ class Article
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $group = null;
|
||||
private string $group = null;
|
||||
|
||||
/**
|
||||
* Suppliers.
|
||||
|
|
@ -79,7 +79,7 @@ class Article
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $suppliers = null;
|
||||
private string $suppliers = null;
|
||||
|
||||
/**
|
||||
* Localization strings.
|
||||
|
|
@ -89,7 +89,7 @@ class Article
|
|||
* @var array
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $invoice_i18n = [];
|
||||
private array $invoice_i18n = [];
|
||||
|
||||
/**
|
||||
* Prizes.
|
||||
|
|
@ -99,7 +99,7 @@ class Article
|
|||
* @var array
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $prizes = [];
|
||||
private array $prizes = [];
|
||||
|
||||
/**
|
||||
* Active supplier.
|
||||
|
|
@ -107,7 +107,7 @@ class Article
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $pprice = null;
|
||||
private string $pprice = null;
|
||||
|
||||
/**
|
||||
* Created.
|
||||
|
|
@ -115,7 +115,7 @@ class Article
|
|||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $created = null;
|
||||
private ?\DateTime $created = null;
|
||||
|
||||
/**
|
||||
* Creator.
|
||||
|
|
@ -131,7 +131,7 @@ class Article
|
|||
* @var \Modules\Warehousing\Models\Article[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static $instances = [];
|
||||
private static array $instances = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
|
|
@ -31,12 +31,12 @@ class Shipping
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $id = 0;
|
||||
private int $id = 0;
|
||||
|
||||
/**
|
||||
* Order.
|
||||
*
|
||||
* @var int
|
||||
* @var intstring
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $order = '';
|
||||
|
|
@ -52,10 +52,10 @@ class Shipping
|
|||
/**
|
||||
* Warehouse.
|
||||
*
|
||||
* @var int
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $warehouse = '';
|
||||
private string $warehouse = '';
|
||||
|
||||
/**
|
||||
* Date of arrival.
|
||||
|
|
@ -63,7 +63,7 @@ class Shipping
|
|||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $delivered = null;
|
||||
private ?\DateTime $delivered = null;
|
||||
|
||||
/**
|
||||
* Person who sent the delivery.
|
||||
|
|
@ -71,7 +71,7 @@ class Shipping
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $sender = null;
|
||||
private int $sender = null;
|
||||
|
||||
/**
|
||||
* Warehouse.
|
||||
|
|
@ -87,7 +87,7 @@ class Shipping
|
|||
* @var \Modules\Warehousing\Models\Article[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static $instances = [];
|
||||
private static array $instances = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class Warehouse
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $name = '';
|
||||
private string $name = '';
|
||||
|
||||
/**
|
||||
* Description.
|
||||
|
|
@ -39,7 +39,7 @@ class Warehouse
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $description = '';
|
||||
private string $description = '';
|
||||
|
||||
/**
|
||||
* Location of the warehouse.
|
||||
|
|
@ -55,7 +55,7 @@ class Warehouse
|
|||
* @var \Modules\Warehousing\Models\Warehouse[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static $instances = [];
|
||||
private static array $instances = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user