Use PHPStan generics

[MAILPOET-2900]
This commit is contained in:
Jan Jakeš
2020-05-12 15:38:18 +02:00
committed by Veljko V
parent e1819d4334
commit 86a24ad674
19 changed files with 34 additions and 84 deletions

View File

@ -7,6 +7,9 @@ use MailPoet\Entities\ScheduledTaskEntity;
use MailPoet\Entities\StatsNotificationEntity;
use MailPoetVendor\Carbon\Carbon;
/**
* @extends Repository<StatsNotificationEntity>
*/
class StatsNotificationsRepository extends Repository {
protected function getEntityClassName() {
return StatsNotificationEntity::class;