fix todos/move to todo list

This commit is contained in:
Dennis Eichhorn 2020-11-26 20:50:18 +01:00
parent b514502e4e
commit 07f6e51962
6 changed files with 0 additions and 57 deletions

View File

@ -15,7 +15,6 @@ declare(strict_types=1);
namespace Modules\ItemManagement\Controller;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
/**
* ItemManagement controller class.

View File

@ -23,8 +23,6 @@ use phpOMS\DataStorage\Database\DataMapperAbstract;
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
*/
final class ItemAttributeMapper extends DataMapperAbstract
{

View File

@ -24,8 +24,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
*/
final class ItemAttributeTypeL11nMapper extends DataMapperAbstract
{
@ -42,22 +40,6 @@ final class ItemAttributeTypeL11nMapper extends DataMapperAbstract
'itemmgmt_attr_type_l11n_lang' => ['name' => 'itemmgmt_attr_type_l11n_lang', 'type' => 'string', 'internal' => 'language'],
];
/**
* Has one relation.
*
* @var array<string, array{mapper:string, external:string, by?:string, column?:string, conditional?:bool}>
* @since 1.0.0
*/
protected static array $ownsOne = [
'language' => [
'mapper' => LanguageMapper::class,
'external' => 'itemmgmt_attr_type_l11n_lang',
'by' => 'code2',
'column' => 'code2',
'conditional' => true,
],
];
/**
* Primary table.
*

View File

@ -25,8 +25,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
* @license OMS License 1.0
* @link https: //orange-management.org
* @since 1.0.0
*
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
*/
final class ItemAttributeValueMapper extends DataMapperAbstract
{
@ -48,29 +46,6 @@ final class ItemAttributeValueMapper extends DataMapperAbstract
'itemmgmt_attr_value_country' => ['name' => 'itemmgmt_attr_value_country', 'type' => 'string', 'internal' => 'country'],
];
/**
* Has one relation.
*
* @var array<string, array{mapper:string, external:string, by?:string, column?:string, conditional?:bool}>
* @since 1.0.0
*/
protected static array $ownsOne = [
'language' => [
'mapper' => LanguageMapper::class,
'external' => 'itemmgmt_attr_value_lang',
'by' => 'code2',
'column' => 'code2',
'conditional' => true,
],
'country' => [
'mapper' => CountryMapper::class,
'external' => 'itemmgmt_attr_value_country',
'by' => 'code2',
'column' => 'code2',
'conditional' => true,
],
];
/**
* Primary table.
*

View File

@ -24,8 +24,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
*/
final class ItemL11nMapper extends DataMapperAbstract
{
@ -50,13 +48,6 @@ final class ItemL11nMapper extends DataMapperAbstract
* @since 1.0.0
*/
protected static array $ownsOne = [
'language' => [
'mapper' => LanguageMapper::class,
'external' => 'itemmgmt_item_l11n_lang',
'by' => 'code2',
'column' => 'code2',
'conditional' => true,
],
'type' => [
'mapper' => ItemL11nTypeMapper::class,
'external' => 'itemmgmt_item_l11n_typeref',

View File

@ -23,8 +23,6 @@ use phpOMS\DataStorage\Database\DataMapperAbstract;
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
*/
final class ItemL11nTypeMapper extends DataMapperAbstract
{