From b6d80bd7126f8582a6e30569a0bafd3793421578 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 11 Apr 2023 00:20:13 +0200 Subject: [PATCH] fix static analysis --- .github/user_feature_request.md | 3 +++ Models/TagL11nMapper.php | 5 ++++- Models/TagMapper.php | 5 ++++- 3 files changed, 11 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/TagL11nMapper.php b/Models/TagL11nMapper.php index f9a34a9..5044240 100755 --- a/Models/TagL11nMapper.php +++ b/Models/TagL11nMapper.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 TagL11nMapper extends DataMapperFactory { @@ -59,7 +62,7 @@ final class TagL11nMapper 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/TagMapper.php b/Models/TagMapper.php index 7be612e..f7ce23d 100755 --- a/Models/TagMapper.php +++ b/Models/TagMapper.php @@ -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 Tag + * @extends DataMapperFactory */ final class TagMapper extends DataMapperFactory { @@ -74,7 +77,7 @@ final class TagMapper extends DataMapperFactory /** * Model to use by the mapper. * - * @var class-string + * @var class-string * @since 1.0.0 */ public const MODEL = Tag::class;