diff --git a/Controller/Controller.php b/Controller/Controller.php old mode 100755 new mode 100644 index 079b706..af167c1 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -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 diff --git a/Models/AccountRelation.php b/Models/AccountRelation.php old mode 100755 new mode 100644 index 5492d4b..ae8610e --- a/Models/AccountRelation.php +++ b/Models/AccountRelation.php @@ -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(); + } } diff --git a/Models/AccountRelationType.php b/Models/AccountRelationType.php old mode 100755 new mode 100644 diff --git a/Models/AttributeValueType.php b/Models/AttributeValueType.php old mode 100755 new mode 100644 diff --git a/Models/NullPromotionAttribute.php b/Models/NullPromotionAttribute.php old mode 100755 new mode 100644