mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-16 16:28:41 +00:00
fix after change to php 7.4
This commit is contained in:
parent
3cf2c9d15e
commit
1ab01d6ea2
|
|
@ -32,7 +32,7 @@ class Department implements ArrayableInterface, \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $id = 0;
|
protected int $id = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name.
|
* Name.
|
||||||
|
|
@ -40,7 +40,7 @@ class Department implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $name = '';
|
protected string $name = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent
|
* Parent
|
||||||
|
|
@ -56,7 +56,7 @@ class Department implements ArrayableInterface, \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $status = Status::INACTIVE;
|
protected int $status = Status::INACTIVE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit this department belongs to
|
* Unit this department belongs to
|
||||||
|
|
@ -72,7 +72,7 @@ class Department implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $description = '';
|
protected string $description = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description.
|
* Description.
|
||||||
|
|
@ -80,7 +80,7 @@ class Department implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $descriptionRaw = '';
|
protected string $descriptionRaw = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ class Position implements ArrayableInterface, \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $id = 0;
|
protected int $id = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name.
|
* Name.
|
||||||
|
|
@ -40,7 +40,7 @@ class Position implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $name = '';
|
private string $name = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent
|
* Parent
|
||||||
|
|
@ -64,7 +64,7 @@ class Position implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $description = '';
|
private string $description = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description.
|
* Description.
|
||||||
|
|
@ -72,7 +72,7 @@ class Position implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $descriptionRaw = '';
|
private string $descriptionRaw = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Status
|
* Status
|
||||||
|
|
@ -80,7 +80,7 @@ class Position implements ArrayableInterface, \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $status = Status::INACTIVE;
|
protected int $status = Status::INACTIVE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get id
|
* Get id
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $id = 0;
|
private int $id = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name.
|
* Name.
|
||||||
|
|
@ -40,7 +40,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $name = '';
|
private string $name = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent
|
* Parent
|
||||||
|
|
@ -56,7 +56,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $description = '';
|
private string $description = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description.
|
* Description.
|
||||||
|
|
@ -64,7 +64,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $descriptionRaw = '';
|
protected string $descriptionRaw = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Status
|
* Status
|
||||||
|
|
@ -72,7 +72,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $status = Status::INACTIVE;
|
protected int $status = Status::INACTIVE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get id
|
* Get id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user