From dc2efebd5723c7c898bb2dfbe61369bd25867410 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 11 Apr 2023 00:20:12 +0200 Subject: [PATCH] fix static analysis --- .github/user_feature_request.md | 3 +++ Models/EditorDocHistoryMapper.php | 3 +++ Models/EditorDocMapper.php | 3 +++ Models/EditorDocTypeL11nMapper.php | 5 ++++- Models/EditorDocTypeMapper.php | 2 +- 5 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/user_feature_request.md b/.github/user_feature_request.md index 6eb8ddc..c9595e8 100755 --- a/.github/user_feature_request.md +++ b/.github/user_feature_request.md @@ -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. diff --git a/Models/EditorDocHistoryMapper.php b/Models/EditorDocHistoryMapper.php index fff0d3f..9046507 100755 --- a/Models/EditorDocHistoryMapper.php +++ b/Models/EditorDocHistoryMapper.php @@ -24,6 +24,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @template T of EditorDocHistory + * @extends DataMapperFactory */ final class EditorDocHistoryMapper extends DataMapperFactory { diff --git a/Models/EditorDocMapper.php b/Models/EditorDocMapper.php index 9e06aed..8231d2f 100755 --- a/Models/EditorDocMapper.php +++ b/Models/EditorDocMapper.php @@ -27,6 +27,9 @@ use phpOMS\DataStorage\Database\Mapper\ReadMapper; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @template T of EditorDoc + * @extends DataMapperFactory */ final class EditorDocMapper extends DataMapperFactory { diff --git a/Models/EditorDocTypeL11nMapper.php b/Models/EditorDocTypeL11nMapper.php index d7883b5..cb12395 100755 --- a/Models/EditorDocTypeL11nMapper.php +++ b/Models/EditorDocTypeL11nMapper.php @@ -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 */ final class EditorDocTypeL11nMapper extends DataMapperFactory { @@ -59,7 +62,7 @@ final class EditorDocTypeL11nMapper extends DataMapperFactory /** * Model to use by the mapper. * - * @var class-string + * @var class-string * @since 1.0.0 */ public const MODEL = BaseStringL11n::class; diff --git a/Models/EditorDocTypeMapper.php b/Models/EditorDocTypeMapper.php index 3034138..1f2f792 100755 --- a/Models/EditorDocTypeMapper.php +++ b/Models/EditorDocTypeMapper.php @@ -57,7 +57,7 @@ final class EditorDocTypeMapper extends DataMapperFactory /** * Model to use by the mapper. * - * @var class-string + * @var class-string * @since 1.0.0 */ public const MODEL = EditorDocType::class;