fix static analysis

This commit is contained in:
Dennis Eichhorn 2023-04-11 00:20:13 +02:00
parent 4f9a0ddb07
commit 4b4c2e9c0b
9 changed files with 32 additions and 5 deletions

View File

@ -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.

View File

@ -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 Department
* @extends DataMapperFactory<T>
*/
final class DepartmentMapper extends DataMapperFactory
{
@ -62,7 +65,7 @@ final class DepartmentMapper extends DataMapperFactory
/**
* Model to use by the mapper.
*
* @var class-string
* @var class-string<T>
* @since 1.0.0
*/
public const MODEL = Department::class;

View File

@ -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 Position
* @extends DataMapperFactory<T>
*/
final class PositionMapper extends DataMapperFactory
{
@ -62,7 +65,7 @@ final class PositionMapper extends DataMapperFactory
/**
* Model to use by the mapper.
*
* @var class-string
* @var class-string<T>
* @since 1.0.0
*/
public const MODEL = Position::class;

View File

@ -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 UnitAttribute
* @extends DataMapperFactory<T>
*/
final class UnitAttributeMapper extends DataMapperFactory
{

View File

@ -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 UnitAttributeTypeL11nMapper extends DataMapperFactory
{
@ -59,7 +62,7 @@ final class UnitAttributeTypeL11nMapper extends DataMapperFactory
/**
* Model to use by the mapper.
*
* @var class-string
* @var class-string<T>
* @since 1.0.0
*/
public const MODEL = BaseStringL11n::class;

View File

@ -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 UnitAttributeType
* @extends DataMapperFactory<T>
*/
final class UnitAttributeTypeMapper extends DataMapperFactory
{

View File

@ -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 UnitAttributeValueL11nMapper extends DataMapperFactory
{
@ -59,7 +62,7 @@ final class UnitAttributeValueL11nMapper extends DataMapperFactory
/**
* Model to use by the mapper.
*
* @var class-string
* @var class-string<T>
* @since 1.0.0
*/
public const MODEL = BaseStringL11n::class;

View File

@ -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 UnitAttributeValue
* @extends DataMapperFactory<T>
*/
final class UnitAttributeValueMapper extends DataMapperFactory
{

View File

@ -25,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 Unit
* @extends DataMapperFactory<T>
*/
final class UnitMapper extends DataMapperFactory
{
@ -100,7 +103,7 @@ final class UnitMapper extends DataMapperFactory
/**
* Model to use by the mapper.
*
* @var class-string
* @var class-string<T>
* @since 1.0.0
*/
public const MODEL = Unit::class;