Auto docblock fixes

This commit is contained in:
Dennis Eichhorn 2023-05-25 07:52:16 +00:00
parent 1e52c0e20c
commit 99b8409174
5 changed files with 30 additions and 42 deletions

4
Controller/Controller.php Executable file → Normal file
View File

@ -59,7 +59,7 @@ class Controller extends ModuleAbstract
public const ID = 1001900000;
/**
* Providing.
* List of modules this module provides for.
*
* @var string[]
* @since 1.0.0
@ -67,7 +67,7 @@ class Controller extends ModuleAbstract
protected static array $providing = [];
/**
* Dependencies.
* List of modules this module depends on.
*
* @var string[]
* @since 1.0.0

68
Models/AccountRelation.php Executable file → Normal file
View File

@ -18,7 +18,7 @@ use Modules\Admin\Models\Account;
use Modules\Admin\Models\NullAccount;
/**
* Promotion class.
* AccountRelation class.
*
* @package Modules\Marketing\Models
* @license OMS License 2.0
@ -35,49 +35,37 @@ class AccountRelation
*/
public int $id = 0;
/**
* Promotion
*
* @var int
* @since 1.0.0
*/
public int $promotion = 0;
/**
* The ID of the promotion associated with this account relation.
*
* @var int
* @since 1.0.0
*/
public int $promotion = 0;
/**
* Account
*
* @var Account
* @since 1.0.0
*/
public Account $account;
/**
* The account associated with this account relation.
*
* @var Account
* @since 1.0.0
*/
public Account $account;
/**
* Account relation type
*
* @var int
* @since 1.0.0
*/
public int $type = AccountRelationType::CUSTOMER;
/**
* The type of this account relation.
*
* @var int
* @since 1.0.0
*/
public int $type = AccountRelationType::CUSTOMER;
/**
/**
* Constructor.
*
* @since 1.0.0
*/
public function __construct()
{
$this->account = new NullAccount();
}
/**
* Get id.
*
* @return int Model id
*
* @since 1.0.0
*/
public function getId() : int
{
return $this->id;
}
*/
public function __construct()
{
$this->account = new NullAccount();
}
}

0
Models/AccountRelationType.php Executable file → Normal file
View File

0
Models/AttributeValueType.php Executable file → Normal file
View File

0
Models/NullPromotionAttribute.php Executable file → Normal file
View File