From 28e5b2648f4a7d6476827ad3eac9c64678539b67 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/StockLocationMapper.php | 3 +++ Models/StockMapper.php | 3 +++ Models/StockMovementMapper.php | 3 +++ Models/StockShelfMapper.php | 3 +++ 5 files changed, 15 insertions(+) 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/StockLocationMapper.php b/Models/StockLocationMapper.php index 958d960..838c42a 100755 --- a/Models/StockLocationMapper.php +++ b/Models/StockLocationMapper.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 StockLocation + * @extends DataMapperFactory */ final class StockLocationMapper extends DataMapperFactory { diff --git a/Models/StockMapper.php b/Models/StockMapper.php index 26dd415..ae76f6e 100755 --- a/Models/StockMapper.php +++ b/Models/StockMapper.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 Stock + * @extends DataMapperFactory */ final class StockMapper extends DataMapperFactory { diff --git a/Models/StockMovementMapper.php b/Models/StockMovementMapper.php index ad12ddf..bfa210d 100755 --- a/Models/StockMovementMapper.php +++ b/Models/StockMovementMapper.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 StockMovement + * @extends DataMapperFactory */ final class StockMovementMapper extends DataMapperFactory { diff --git a/Models/StockShelfMapper.php b/Models/StockShelfMapper.php index 794c400..10f1cb1 100755 --- a/Models/StockShelfMapper.php +++ b/Models/StockShelfMapper.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 StockShelf + * @extends DataMapperFactory */ final class StockShelfMapper extends DataMapperFactory {