mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-27 14:38:41 +00:00
php cs and stan fixes
This commit is contained in:
parent
771f535ddf
commit
a8986da250
|
|
@ -42,10 +42,10 @@ class Profile implements \JsonSerializable
|
|||
/**
|
||||
* Profile image.
|
||||
*
|
||||
* @var null|int|Media
|
||||
* @var Media
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $image = null;
|
||||
protected Media $image;
|
||||
|
||||
/**
|
||||
* Birthday.
|
||||
|
|
@ -61,7 +61,7 @@ class Profile implements \JsonSerializable
|
|||
* @var Account
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $account = null;
|
||||
protected Account $account;
|
||||
|
||||
/**
|
||||
* Location data.
|
||||
|
|
|
|||
|
|
@ -30,9 +30,29 @@ use phpOMS\Views\View;
|
|||
*/
|
||||
class BaseView extends View
|
||||
{
|
||||
private $id = '';
|
||||
private $name = '';
|
||||
private $isRequired = false;
|
||||
/**
|
||||
* Dom id
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private string $id = '';
|
||||
|
||||
/**
|
||||
* Is required?
|
||||
*
|
||||
* @var bool
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private bool $isRequired = false;
|
||||
|
||||
/**
|
||||
* Dom name
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private string $name = '';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user