From 70b2a8e7fac9cdb85281532068dfd7e7afeb7469 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/ContactElementMapper.php | 3 +++ Models/ContactMapper.php | 3 +++ Models/ProfileMapper.php | 5 ++++- 4 files changed, 13 insertions(+), 1 deletion(-) 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/ContactElementMapper.php b/Models/ContactElementMapper.php index 79d1b9b..2cf8794 100755 --- a/Models/ContactElementMapper.php +++ b/Models/ContactElementMapper.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 ContactElement + * @extends DataMapperFactory */ final class ContactElementMapper extends DataMapperFactory { diff --git a/Models/ContactMapper.php b/Models/ContactMapper.php index fcf7eea..640ab26 100755 --- a/Models/ContactMapper.php +++ b/Models/ContactMapper.php @@ -25,6 +25,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @template T of Contact + * @extends DataMapperFactory */ final class ContactMapper extends DataMapperFactory { diff --git a/Models/ProfileMapper.php b/Models/ProfileMapper.php index bdafa60..0a1def5 100755 --- a/Models/ProfileMapper.php +++ b/Models/ProfileMapper.php @@ -25,6 +25,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @template T of Profile + * @extends DataMapperFactory */ final class ProfileMapper extends DataMapperFactory { @@ -72,7 +75,7 @@ final class ProfileMapper extends DataMapperFactory /** * Model to use by the mapper. * - * @var class-string + * @var class-string * @since 1.0.0 */ public const MODEL = Profile::class;