mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:36:13 +01:00
[BUGFIX] Do not overwrite type annotations from parent classes (#480)
This avoids PHPStan warnings in a case where our type annotations are not up to date anymore with the latest change in the Core.
This commit is contained in:
parent
53009a44ff
commit
29eec0cb75
2 changed files with 0 additions and 7 deletions
|
@ -16,8 +16,5 @@ class TeaRepository extends Repository
|
||||||
{
|
{
|
||||||
use StoragePageAgnosticTrait;
|
use StoragePageAgnosticTrait;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string[]
|
|
||||||
*/
|
|
||||||
protected $defaultOrderings = ['title' => QueryInterface::ORDER_ASCENDING];
|
protected $defaultOrderings = ['title' => QueryInterface::ORDER_ASCENDING];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
parameters:
|
parameters:
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
-
|
|
||||||
message: "#^PHPDoc type array\\<string\\> 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\\<TTN\\\\Tea\\\\Domain\\\\Model\\\\Product\\\\Tea\\>\\:\\:\\$defaultOrderings\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: Classes/Domain/Repository/Product/TeaRepository.php
|
|
||||||
|
|
Loading…
Reference in a new issue