Skip to content

Commit 86f15f3

Browse files
committed
TASK: Change method headers to please PHPStan
1 parent f87a494 commit 86f15f3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Classes/Service/UsageDetailsService.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*/
1616

1717
use Doctrine\ORM\EntityManagerInterface;
18+
use Doctrine\ORM\NonUniqueResultException;
19+
use Doctrine\ORM\NoResultException;
1820
use Flowpack\Media\Ui\Domain\Model\Dto\AssetUsageDetails;
1921
use Flowpack\Media\Ui\Exception;
2022
use GuzzleHttp\Psr7\ServerRequest;
@@ -353,6 +355,8 @@ protected function getAssetVariantFilterClause(string $alias): string
353355
* Returns number of assets which have no usage reference provided by `Flowpack.EntityUsage`
354356
*
355357
* @throws Exception
358+
* @throws NoResultException
359+
* @throws NonUniqueResultException
356360
*/
357361
public function getUnusedAssetCount(): int
358362
{

0 commit comments

Comments
 (0)