mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 18:36:13 +01:00

[CLEANUP] Add generics annotation to the Tea repository (#414)

This helps static code analysis determine for which models the
repository is responsible.
This commit is contained in:
Oliver Klee 2022-04-03 02:24:55 +02:00 committed by GitHub
parent 869f348ce8
commit bd3731934f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,12 +4,13 @@ declare(strict_types=1);
namespace TTN\Tea\Domain\Repository\Product; namespace TTN\Tea\Domain\Repository\Product;
use TTN\Tea\Domain\Model\Product\Tea;
use TTN\Tea\Domain\Repository\Traits\StoragePageAgnosticTrait; use TTN\Tea\Domain\Repository\Traits\StoragePageAgnosticTrait;
use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\CMS\Extbase\Persistence\QueryInterface;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;
/** /**
* Repository for Tea models. * @extends Repository<Tea>
*/ */
class TeaRepository extends Repository class TeaRepository extends Repository
{ {