mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-15 14:58:40 +00:00
fix after change to php 7.4
This commit is contained in:
parent
5746dd3c6e
commit
f4092dd042
|
|
@ -37,12 +37,12 @@ class Profile implements \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $id = 0;
|
private int $id = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Profile image.
|
* Profile image.
|
||||||
*
|
*
|
||||||
* @var Media
|
* @var null|int|Media
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $image = null;
|
private $image = null;
|
||||||
|
|
@ -53,7 +53,7 @@ class Profile implements \JsonSerializable
|
||||||
* @var null|\DateTime
|
* @var null|\DateTime
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $birthday = null;
|
private ?\DateTime $birthday = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Account.
|
* Account.
|
||||||
|
|
@ -69,7 +69,7 @@ class Profile implements \JsonSerializable
|
||||||
* @var array<Location>
|
* @var array<Location>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $location = [];
|
private array $location = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user