diff --git a/Classes/Domain/Repository/Product/TeaRepository.php b/Classes/Domain/Repository/Product/TeaRepository.php index 0491308..08dff16 100644 --- a/Classes/Domain/Repository/Product/TeaRepository.php +++ b/Classes/Domain/Repository/Product/TeaRepository.php @@ -16,8 +16,5 @@ class TeaRepository extends Repository { use StoragePageAgnosticTrait; - /** - * @var string[] - */ protected $defaultOrderings = ['title' => QueryInterface::ORDER_ASCENDING]; } diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 6fee966..364905f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,6 +1,2 @@ parameters: ignoreErrors: - - - message: "#^PHPDoc type array\\ of property TTN\\\\Tea\\\\Domain\\\\Repository\\\\Product\\\\TeaRepository\\:\\:\\$defaultOrderings is not the same as PHPDoc type array of overridden property TYPO3\\\\CMS\\\\Extbase\\\\Persistence\\\\Repository\\\\:\\:\\$defaultOrderings\\.$#" - count: 1 - path: Classes/Domain/Repository/Product/TeaRepository.php