rector fixes + bug fixes

This commit is contained in:
Dennis Eichhorn 2023-05-27 03:06:46 +00:00
parent 99b8409174
commit 36385995ad

View File

@ -35,37 +35,37 @@ class AccountRelation
*/ */
public int $id = 0; public int $id = 0;
/** /**
* The ID of the promotion associated with this account relation. * The ID of the promotion associated with this account relation.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
public int $promotion = 0; public int $promotion = 0;
/** /**
* The account associated with this account relation. * The account associated with this account relation.
* *
* @var Account * @var Account
* @since 1.0.0 * @since 1.0.0
*/ */
public Account $account; public Account $account;
/** /**
* The type of this account relation. * The type of this account relation.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
public int $type = AccountRelationType::CUSTOMER; public int $type = AccountRelationType::CUSTOMER;
/** /**
* Constructor. * Constructor.
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function __construct() public function __construct()
{ {
$this->account = new NullAccount(); $this->account = new NullAccount();
} }
} }