bug fixes / dbmapper fixes

This commit is contained in:
Dennis Eichhorn 2021-12-19 20:20:39 +01:00
parent ef303e2eda
commit 6c54a30d8a
11 changed files with 76 additions and 78 deletions

View File

@ -62,8 +62,6 @@ class AccountRelation
/** /**
* Constructor. * Constructor.
* *
* @param string $name Event name/title
*
* @since 1.0.0 * @since 1.0.0
*/ */
public function __construct() public function __construct()

View File

@ -88,7 +88,7 @@ class PromotionAttribute implements \JsonSerializable, ArrayableInterface
{ {
return [ return [
'id' => $this->id, 'id' => $this->id,
'item' => $this->item, 'promotion' => $this->promotion,
'type' => $this->type, 'type' => $this->type,
'value' => $this->value, 'value' => $this->value,
]; ];

View File

@ -8,7 +8,7 @@
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https: //orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1); declare(strict_types=1);
@ -21,7 +21,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* *
* @package Modules\Marketing\Models * @package Modules\Marketing\Models
* @license OMS License 1.0 * @license OMS License 1.0
* @link https: //orange-management.org * @link https://orange-management.org
* @since 1.0.0 * @since 1.0.0
*/ */
final class PromotionAttributeValueMapper extends DataMapperFactory final class PromotionAttributeValueMapper extends DataMapperFactory