fix static analysis

This commit is contained in:
Dennis Eichhorn 2023-04-11 00:20:12 +02:00
parent 35dbf113fe
commit 650f2e1835
5 changed files with 17 additions and 2 deletions

View File

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

View File

@ -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 CostCenterL11nMapper extends DataMapperFactory final class CostCenterL11nMapper extends DataMapperFactory
{ {

View File

@ -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 CostCenter
* @extends DataMapperFactory<T>
*/ */
final class CostCenterMapper extends DataMapperFactory final class CostCenterMapper extends DataMapperFactory
{ {
@ -56,7 +59,7 @@ final class CostCenterMapper 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 = CostCenter::class; public const MODEL = CostCenter::class;

View File

@ -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 CostObjectL11nMapper extends DataMapperFactory final class CostObjectL11nMapper extends DataMapperFactory
{ {

View File

@ -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 CostObject
* @extends DataMapperFactory<T>
*/ */
final class CostObjectMapper extends DataMapperFactory final class CostObjectMapper extends DataMapperFactory
{ {
@ -56,7 +59,7 @@ final class CostObjectMapper 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 = CostObject::class; public const MODEL = CostObject::class;