mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-24 16:16:11 +01:00
29eec0cb75
This avoids PHPStan warnings in a case where our type annotations are not up to date anymore with the latest change in the Core.
20 lines
471 B
PHP
20 lines
471 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace TTN\Tea\Domain\Repository\Product;
|
|
|
|
use TTN\Tea\Domain\Model\Product\Tea;
|
|
use TTN\Tea\Domain\Repository\Traits\StoragePageAgnosticTrait;
|
|
use TYPO3\CMS\Extbase\Persistence\QueryInterface;
|
|
use TYPO3\CMS\Extbase\Persistence\Repository;
|
|
|
|
/**
|
|
* @extends Repository<Tea>
|
|
*/
|
|
class TeaRepository extends Repository
|
|
{
|
|
use StoragePageAgnosticTrait;
|
|
|
|
protected $defaultOrderings = ['title' => QueryInterface::ORDER_ASCENDING];
|
|
}
|