mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-14 14:48:39 +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.
|
* Profile image.
|
||||||
*
|
*
|
||||||
* @var null|int|Media
|
* @var Media
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $image = null;
|
protected Media $image;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Birthday.
|
* Birthday.
|
||||||
|
|
@ -61,7 +61,7 @@ class Profile implements \JsonSerializable
|
||||||
* @var Account
|
* @var Account
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $account = null;
|
protected Account $account;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Location data.
|
* Location data.
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,29 @@ use phpOMS\Views\View;
|
||||||
*/
|
*/
|
||||||
class BaseView extends View
|
class BaseView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
/**
|
||||||
private $name = '';
|
* Dom id
|
||||||
private $isRequired = false;
|
*
|
||||||
|
* @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}
|
* {@inheritdoc}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user