Fix PHPStan warnings in lib

[MAILPOET-5751]
This commit is contained in:
Jan Lysý
2023-12-01 16:16:59 +01:00
committed by Aschepikov
parent 41a55262fe
commit 525c80bac4
59 changed files with 351 additions and 457 deletions

View File

@ -124,6 +124,7 @@ class SubscribersEmailCountsController {
]
);
/** @var array{0: array{count:int, max:int}} $subscribersInRange */
$subscribersInRange = $result->fetchAllAssociative();
return [intval($subscribersInRange[0]['count']), intval($subscribersInRange[0]['max'])];