fix static analysis

This commit is contained in:
Dennis Eichhorn 2023-04-11 00:20:12 +02:00
parent 6289f90cb3
commit 8e7c9f0ab1
4 changed files with 14 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

@ -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 ExchangeLog
* @extends DataMapperFactory<T>
*/ */
final class ExchangeLogMapper extends DataMapperFactory final class ExchangeLogMapper extends DataMapperFactory
{ {
@ -47,7 +50,7 @@ final class ExchangeLogMapper 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 = ExchangeLog::class; public const MODEL = ExchangeLog::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 ExchangeSetting
* @extends DataMapperFactory<T>
*/ */
final class ExchangeSettingMapper extends DataMapperFactory final class ExchangeSettingMapper extends DataMapperFactory
{ {
@ -43,7 +46,7 @@ final class ExchangeSettingMapper 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 = ExchangeSetting::class; public const MODEL = ExchangeSetting::class;

View File

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