fix static analysis

This commit is contained in:
Dennis Eichhorn 2023-04-11 00:20:12 +02:00
parent 0fbc805664
commit ca19b0cf47
7 changed files with 22 additions and 1 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

@ -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 AccountRelation
* @extends DataMapperFactory<T>
*/ */
final class AccountRelationMapper extends DataMapperFactory final class AccountRelationMapper 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 EventAttribute
* @extends DataMapperFactory<T>
*/ */
final class EventAttributeMapper extends DataMapperFactory final class EventAttributeMapper extends DataMapperFactory
{ {

View File

@ -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 EventAttributeTypeL11nMapper extends DataMapperFactory final class EventAttributeTypeL11nMapper extends DataMapperFactory
{ {
@ -59,7 +62,7 @@ final class EventAttributeTypeL11nMapper 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;

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 EventAttributeType
* @extends DataMapperFactory<T>
*/ */
final class EventAttributeTypeMapper extends DataMapperFactory final class EventAttributeTypeMapper 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 EventAttributeValue
* @extends DataMapperFactory<T>
*/ */
final class EventAttributeValueMapper extends DataMapperFactory final class EventAttributeValueMapper extends DataMapperFactory
{ {

View File

@ -26,6 +26,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 EventMapper
* @extends DataMapperFactory<T>
*/ */
final class EventMapper extends DataMapperFactory final class EventMapper extends DataMapperFactory
{ {