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; public const ID = 1001900000;
/** /**
* Providing. * List of modules this module provides for.
* *
* @var string[] * @var string[]
* @since 1.0.0 * @since 1.0.0
@ -67,7 +67,7 @@ class Controller extends ModuleAbstract
protected static array $providing = []; protected static array $providing = [];
/** /**
* Dependencies. * List of modules this module depends on.
* *
* @var string[] * @var string[]
* @since 1.0.0 * @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; use Modules\Admin\Models\NullAccount;
/** /**
* Promotion class. * AccountRelation class.
* *
* @package Modules\Marketing\Models * @package Modules\Marketing\Models
* @license OMS License 2.0 * @license OMS License 2.0
@ -35,49 +35,37 @@ class AccountRelation
*/ */
public int $id = 0; public int $id = 0;
/** /**
* Promotion * 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;
/** /**
* Account * 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;
/** /**
* Account relation type * 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();
} }
/**
* Get id.
*
* @return int Model id
*
* @since 1.0.0
*/
public function getId() : int
{
return $this->id;
}
} }

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