From 64100d21835d646e62412a3a649042096b8f8145 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 27 Jan 2023 22:12:09 +0100 Subject: [PATCH] phpstan, phpcs, phpunit fixes --- Interfaces/GSD/Model/GSDCustomerMapper.php | 2 +- Interfaces/GSD/Model/GSDSupplierMapper.php | 2 +- Models/ExchangeLogMapper.php | 4 ++-- Models/ExchangeSettingMapper.php | 2 +- Models/InterfaceManagerMapper.php | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Interfaces/GSD/Model/GSDCustomerMapper.php b/Interfaces/GSD/Model/GSDCustomerMapper.php index b00b7d1..147440e 100755 --- a/Interfaces/GSD/Model/GSDCustomerMapper.php +++ b/Interfaces/GSD/Model/GSDCustomerMapper.php @@ -68,7 +68,7 @@ final class GSDCustomerMapper extends DataMapperFactory /** * Has one relation. * - * @var array + * @var array * @since 1.0.0 */ public const OWNS_ONE = [ diff --git a/Interfaces/GSD/Model/GSDSupplierMapper.php b/Interfaces/GSD/Model/GSDSupplierMapper.php index d83c04d..3a1aebf 100755 --- a/Interfaces/GSD/Model/GSDSupplierMapper.php +++ b/Interfaces/GSD/Model/GSDSupplierMapper.php @@ -48,7 +48,7 @@ final class GSDSupplierMapper extends DataMapperFactory /** * Has one relation. * - * @var array + * @var array * @since 1.0.0 */ public const OWNS_ONE = [ diff --git a/Models/ExchangeLogMapper.php b/Models/ExchangeLogMapper.php index 452061a..f0609e5 100755 --- a/Models/ExchangeLogMapper.php +++ b/Models/ExchangeLogMapper.php @@ -47,7 +47,7 @@ final class ExchangeLogMapper extends DataMapperFactory /** * Model to use by the mapper. * - * @var string + * @var class-string * @since 1.0.0 */ public const MODEL = ExchangeLog::class; @@ -71,7 +71,7 @@ final class ExchangeLogMapper extends DataMapperFactory /** * Belongs to. * - * @var array + * @var array * @since 1.0.0 */ public const BELONGS_TO = [ diff --git a/Models/ExchangeSettingMapper.php b/Models/ExchangeSettingMapper.php index ee27e55..c92d5cf 100755 --- a/Models/ExchangeSettingMapper.php +++ b/Models/ExchangeSettingMapper.php @@ -44,7 +44,7 @@ final class ExchangeSettingMapper extends DataMapperFactory /** * Model to use by the mapper. * - * @var string + * @var class-string * @since 1.0.0 */ public const MODEL = ExchangeSetting::class; diff --git a/Models/InterfaceManagerMapper.php b/Models/InterfaceManagerMapper.php index 3f6f28a..c998768 100755 --- a/Models/InterfaceManagerMapper.php +++ b/Models/InterfaceManagerMapper.php @@ -65,7 +65,7 @@ final class InterfaceManagerMapper extends DataMapperFactory /** * Belongs to. * - * @var array + * @var array * @since 1.0.0 */ public const BELONGS_TO = [ @@ -78,7 +78,7 @@ final class InterfaceManagerMapper extends DataMapperFactory /** * Has one relation. * - * @var array + * @var array * @since 1.0.0 */ public const OWNS_ONE = [ @@ -91,7 +91,7 @@ final class InterfaceManagerMapper extends DataMapperFactory /** * Has many relation. * - * @var array + * @var array * @since 1.0.0 */ public const HAS_MANY = [