From 8f12007e8e16dd51954b96f9434a3ee9c1808b67 Mon Sep 17 00:00:00 2001 From: Formatter Bot Date: Wed, 21 Oct 2020 20:56:13 +0000 Subject: [PATCH] Automated formatting changes --- Models/ItemAttributeMapper.php | 4 ++-- Models/ItemAttributeTypeL11nMapper.php | 8 ++++---- Models/ItemAttributeTypeMapper.php | 10 +++++----- Models/ItemAttributeValueMapper.php | 16 ++++++++-------- Models/ItemL11nMapper.php | 10 +++++----- Models/ItemMapper.php | 16 ++++++++-------- Theme/Backend/sales-item-list.tpl.php | 2 +- 7 files changed, 33 insertions(+), 33 deletions(-) diff --git a/Models/ItemAttributeMapper.php b/Models/ItemAttributeMapper.php index 14df3ff..1e042f5 100644 --- a/Models/ItemAttributeMapper.php +++ b/Models/ItemAttributeMapper.php @@ -49,11 +49,11 @@ final class ItemAttributeMapper extends DataMapperAbstract */ protected static array $ownsOne = [ 'type' => [ - 'mapper' => ItemAttributeTypeMapper::class, + 'mapper' => ItemAttributeTypeMapper::class, 'external' => 'itemmgmt_item_l11n_typeref', ], 'value' => [ - 'mapper' => ItemAttributeValueMapper::class, + 'mapper' => ItemAttributeValueMapper::class, 'external' => 'itemmgmt_item_l11n_typeref', ], ]; diff --git a/Models/ItemAttributeTypeL11nMapper.php b/Models/ItemAttributeTypeL11nMapper.php index 1665027..bc5a6fb 100644 --- a/Models/ItemAttributeTypeL11nMapper.php +++ b/Models/ItemAttributeTypeL11nMapper.php @@ -50,11 +50,11 @@ final class ItemAttributeTypeL11nMapper extends DataMapperAbstract */ protected static array $ownsOne = [ 'language' => [ - 'mapper' => LanguageMapper::class, + 'mapper' => LanguageMapper::class, 'external' => 'itemmgmt_attr_type_l11n_lang', - 'by' => 'code2', - 'column' => 'code2', - 'conditional' => true, + 'by' => 'code2', + 'column' => 'code2', + 'conditional' => true, ], ]; diff --git a/Models/ItemAttributeTypeMapper.php b/Models/ItemAttributeTypeMapper.php index c9b9c87..b99a41e 100644 --- a/Models/ItemAttributeTypeMapper.php +++ b/Models/ItemAttributeTypeMapper.php @@ -49,11 +49,11 @@ final class ItemAttributeTypeMapper extends DataMapperAbstract */ protected static array $hasMany = [ 'l11n' => [ - 'mapper' => ItemAttributeTypeL11nMapper::class, - 'table' => 'itemmgmt_attr_type_l11n', - 'self' => 'itemmgmt_attr_type_l11n_type', - 'column' => 'title', - 'conditional' => true, + 'mapper' => ItemAttributeTypeL11nMapper::class, + 'table' => 'itemmgmt_attr_type_l11n', + 'self' => 'itemmgmt_attr_type_l11n_type', + 'column' => 'title', + 'conditional' => true, 'external' => null, ], ]; diff --git a/Models/ItemAttributeValueMapper.php b/Models/ItemAttributeValueMapper.php index 895e334..9be67d3 100644 --- a/Models/ItemAttributeValueMapper.php +++ b/Models/ItemAttributeValueMapper.php @@ -56,18 +56,18 @@ final class ItemAttributeValueMapper extends DataMapperAbstract */ protected static array $ownsOne = [ 'language' => [ - 'mapper' => LanguageMapper::class, + 'mapper' => LanguageMapper::class, 'external' => 'itemmgmt_attr_value_lang', - 'by' => 'code2', - 'column' => 'code2', - 'conditional' => true, + 'by' => 'code2', + 'column' => 'code2', + 'conditional' => true, ], 'country' => [ - 'mapper' => CountryMapper::class, + 'mapper' => CountryMapper::class, 'external' => 'itemmgmt_attr_value_country', - 'by' => 'code2', - 'column' => 'code2', - 'conditional' => true, + 'by' => 'code2', + 'column' => 'code2', + 'conditional' => true, ], ]; diff --git a/Models/ItemL11nMapper.php b/Models/ItemL11nMapper.php index 714a342..f29e95b 100644 --- a/Models/ItemL11nMapper.php +++ b/Models/ItemL11nMapper.php @@ -51,14 +51,14 @@ final class ItemL11nMapper extends DataMapperAbstract */ protected static array $ownsOne = [ 'language' => [ - 'mapper' => LanguageMapper::class, + 'mapper' => LanguageMapper::class, 'external' => 'itemmgmt_item_l11n_lang', - 'by' => 'code2', - 'column' => 'code2', - 'conditional' => true, + 'by' => 'code2', + 'column' => 'code2', + 'conditional' => true, ], 'type' => [ - 'mapper' => ItemL11nTypeMapper::class, + 'mapper' => ItemL11nTypeMapper::class, 'external' => 'itemmgmt_item_l11n_typeref', ], ]; diff --git a/Models/ItemMapper.php b/Models/ItemMapper.php index fd0c7e1..4700815 100644 --- a/Models/ItemMapper.php +++ b/Models/ItemMapper.php @@ -73,17 +73,17 @@ final class ItemMapper extends DataMapperAbstract 'self' => 'itemmgmt_item_media_item', ], 'l11n' => [ - 'mapper' => ItemL11nMapper::class, - 'table' => 'itemmgmt_item_l11n', - 'self' => 'itemmgmt_item_l11n_item', - 'conditional' => true, + 'mapper' => ItemL11nMapper::class, + 'table' => 'itemmgmt_item_l11n', + 'self' => 'itemmgmt_item_l11n_item', + 'conditional' => true, 'external' => null, ], 'attributes' => [ - 'mapper' => ItemAttributeMapper::class, - 'table' => 'itemmgmt_item_attr', - 'self' => 'itemmgmt_item_attr_item', - 'conditional' => true, + 'mapper' => ItemAttributeMapper::class, + 'table' => 'itemmgmt_item_attr', + 'self' => 'itemmgmt_item_attr_item', + 'conditional' => true, 'external' => null, ], ]; diff --git a/Theme/Backend/sales-item-list.tpl.php b/Theme/Backend/sales-item-list.tpl.php index 179c3d6..aad879c 100644 --- a/Theme/Backend/sales-item-list.tpl.php +++ b/Theme/Backend/sales-item-list.tpl.php @@ -12,8 +12,8 @@ */ declare(strict_types=1); -use phpOMS\Uri\UriFactory; use Modules\Media\Models\NullMedia; +use phpOMS\Uri\UriFactory; /** @var \phpOMS\Views\View $this */ $items = $this->getData('items');