From 96f04368a9ec489c938f36cd11a44ed2bca56d58 Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Thu, 7 May 2020 11:05:24 +0200 Subject: [PATCH] Add code annotations [PREMIUM-142] --- .../StatsNotifications/NewsletterLinkRepository.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/Cron/Workers/StatsNotifications/NewsletterLinkRepository.php b/lib/Cron/Workers/StatsNotifications/NewsletterLinkRepository.php index 76dd67e458..57462014a4 100644 --- a/lib/Cron/Workers/StatsNotifications/NewsletterLinkRepository.php +++ b/lib/Cron/Workers/StatsNotifications/NewsletterLinkRepository.php @@ -5,6 +5,13 @@ namespace MailPoet\Cron\Workers\StatsNotifications; use MailPoet\Doctrine\Repository; use MailPoet\Entities\NewsletterLinkEntity; +/** + * @method NewsletterLinkEntity[] findBy(array $criteria, array $orderBy = null, int $limit = null, int $offset = null) + * @method NewsletterLinkEntity|null findOneBy(array $criteria, array $orderBy = null) + * @method NewsletterLinkEntity|null findOneById(mixed $id) + * @method void persist(NewsletterLinkEntity $entity) + * @method void remove(NewsletterLinkEntity $entity) + */ class NewsletterLinkRepository extends Repository { protected function getEntityClassName() { return NewsletterLinkEntity::class;