mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-01-11 17:18:40 +00:00
Auto docblock fixes
This commit is contained in:
parent
1e52c0e20c
commit
99b8409174
4
Controller/Controller.php
Executable file → Normal file
4
Controller/Controller.php
Executable file → Normal 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
68
Models/AccountRelation.php
Executable file → Normal 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
0
Models/AccountRelationType.php
Executable file → Normal file
0
Models/AttributeValueType.php
Executable file → Normal file
0
Models/AttributeValueType.php
Executable file → Normal file
0
Models/NullPromotionAttribute.php
Executable file → Normal file
0
Models/NullPromotionAttribute.php
Executable file → Normal file
Loading…
Reference in New Issue
Block a user