mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-01-29 20:18:41 +00:00
fix static analysis
This commit is contained in:
parent
5d05b4e242
commit
e2e89813d2
3
.github/user_feature_request.md
vendored
3
.github/user_feature_request.md
vendored
|
|
@ -8,11 +8,14 @@ assignees: ''
|
|||
---
|
||||
|
||||
# What is the feature you request
|
||||
|
||||
* A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
* A clear and concise description of what you want to happen.
|
||||
|
||||
# Alternatives
|
||||
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
# Additional Information
|
||||
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of Attribte
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemAttributeMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -60,7 +63,7 @@ final class ItemAttributeMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = Attribute::class;
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ use phpOMS\Localization\BaseStringL11n;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of BaseStringL11n
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemAttributeTypeL11nMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -59,7 +62,7 @@ final class ItemAttributeTypeL11nMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = BaseStringL11n::class;
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of AttributeType
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemAttributeTypeMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -68,7 +71,7 @@ final class ItemAttributeTypeMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = AttributeType::class;
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ use phpOMS\Localization\BaseStringL11n;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of BaseStringL11n
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemAttributeValueL11nMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -59,7 +62,7 @@ final class ItemAttributeValueL11nMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = BaseStringL11n::class;
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of AttributeValue
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemAttributeValueMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -63,7 +66,7 @@ final class ItemAttributeValueMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = AttributeValue::class;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of BaseStringL11n
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemL11nMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of ItemL11nType
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemL11nTypeMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Modules\ItemManagement\Models;
|
||||
|
||||
use Modules\Attribute\Models\AttributeMapper;
|
||||
use Modules\Editor\Models\EditorDocMapper;
|
||||
use Modules\Media\Models\MediaMapper;
|
||||
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||
|
|
@ -26,6 +25,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of Item
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -88,7 +90,7 @@ final class ItemMapper extends DataMapperFactory
|
|||
'external' => null,
|
||||
],
|
||||
'attributes' => [
|
||||
'mapper' => AttributeMapper::class,
|
||||
'mapper' => ItemAttributeMapper::class,
|
||||
'table' => 'itemmgmt_item_attr',
|
||||
'self' => 'itemmgmt_item_attr_item',
|
||||
'external' => null,
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of ItemRelation
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemRelationMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of ItemRelationType
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class ItemRelationTypeMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user