mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-02-16 00:28:41 +00:00
fix static analysis
This commit is contained in:
parent
d085322f68
commit
d1ffc698af
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
|
# 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 the problem is. Ex. I'm always frustrated when [...]
|
||||||
* A clear and concise description of what you want to happen.
|
* A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
# Alternatives
|
# Alternatives
|
||||||
|
|
||||||
A clear and concise description of any alternative solutions or features you've considered.
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
# Additional Information
|
# Additional Information
|
||||||
|
|
||||||
Add any other context or screenshots about the feature request here.
|
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
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @template T of Attribute
|
||||||
|
* @extends DataMapperFactory<T>
|
||||||
*/
|
*/
|
||||||
final class SupplierAttributeMapper extends DataMapperFactory
|
final class SupplierAttributeMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
|
@ -60,7 +63,7 @@ final class SupplierAttributeMapper extends DataMapperFactory
|
||||||
/**
|
/**
|
||||||
* Model to use by the mapper.
|
* Model to use by the mapper.
|
||||||
*
|
*
|
||||||
* @var class-string
|
* @var class-string<T>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public const MODEL = Attribute::class;
|
public const MODEL = Attribute::class;
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,9 @@ use phpOMS\Localization\BaseStringL11n;
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @template T of BaseStringL11n
|
||||||
|
* @extends DataMapperFactory<T>
|
||||||
*/
|
*/
|
||||||
final class SupplierAttributeTypeL11nMapper extends DataMapperFactory
|
final class SupplierAttributeTypeL11nMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
|
@ -59,7 +62,7 @@ final class SupplierAttributeTypeL11nMapper extends DataMapperFactory
|
||||||
/**
|
/**
|
||||||
* Model to use by the mapper.
|
* Model to use by the mapper.
|
||||||
*
|
*
|
||||||
* @var class-string
|
* @var class-string<T>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public const MODEL = BaseStringL11n::class;
|
public const MODEL = BaseStringL11n::class;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\SupplierManagement\Models;
|
namespace Modules\SupplierManagement\Models;
|
||||||
|
|
||||||
use Modules\Attribute\Models\AttributeTypeMapper;
|
use Modules\Attribute\Models\AttributeType;
|
||||||
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -24,6 +24,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @template T of AttributeType
|
||||||
|
* @extends DataMapperFactory<T>
|
||||||
*/
|
*/
|
||||||
final class SupplierAttributeTypeMapper extends DataMapperFactory
|
final class SupplierAttributeTypeMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
|
@ -68,10 +71,10 @@ final class SupplierAttributeTypeMapper extends DataMapperFactory
|
||||||
/**
|
/**
|
||||||
* Model to use by the mapper.
|
* Model to use by the mapper.
|
||||||
*
|
*
|
||||||
* @var class-string
|
* @var class-string<T>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public const MODEL = AttributeTypeMapper::class;
|
public const MODEL = AttributeType::class;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Primary table.
|
* Primary table.
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,9 @@ use phpOMS\Localization\BaseStringL11n;
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @template T of BaseStringL11n
|
||||||
|
* @extends DataMapperFactory<T>
|
||||||
*/
|
*/
|
||||||
final class SupplierAttributeValueL11nMapper extends DataMapperFactory
|
final class SupplierAttributeValueL11nMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
|
@ -59,7 +62,7 @@ final class SupplierAttributeValueL11nMapper extends DataMapperFactory
|
||||||
/**
|
/**
|
||||||
* Model to use by the mapper.
|
* Model to use by the mapper.
|
||||||
*
|
*
|
||||||
* @var class-string
|
* @var class-string<T>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public const MODEL = BaseStringL11n::class;
|
public const MODEL = BaseStringL11n::class;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\SupplierManagement\Models;
|
namespace Modules\SupplierManagement\Models;
|
||||||
|
|
||||||
use Modules\Attribute\Models\AttributeValueType;
|
use Modules\Attribute\Models\AttributeValue;
|
||||||
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -24,6 +24,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @template T of AttributeValue
|
||||||
|
* @extends DataMapperFactory<T>
|
||||||
*/
|
*/
|
||||||
final class SupplierAttributeValueMapper extends DataMapperFactory
|
final class SupplierAttributeValueMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
|
@ -63,10 +66,10 @@ final class SupplierAttributeValueMapper extends DataMapperFactory
|
||||||
/**
|
/**
|
||||||
* Model to use by the mapper.
|
* Model to use by the mapper.
|
||||||
*
|
*
|
||||||
* @var class-string
|
* @var class-string<T>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public const MODEL = AttributeValueType::class;
|
public const MODEL = AttributeValue::class;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Primary table.
|
* Primary table.
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @template T of BaseStringL11n
|
||||||
|
* @extends DataMapperFactory<T>
|
||||||
*/
|
*/
|
||||||
final class SupplierL11nMapper extends DataMapperFactory
|
final class SupplierL11nMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @template T of SupplierL11nType
|
||||||
|
* @extends DataMapperFactory<T>
|
||||||
*/
|
*/
|
||||||
final class SupplierL11nTypeMapper extends DataMapperFactory
|
final class SupplierL11nTypeMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @template T of Supplier
|
||||||
|
* @extends DataMapperFactory<T>
|
||||||
*/
|
*/
|
||||||
final class SupplierMapper extends DataMapperFactory
|
final class SupplierMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user