Use singular in entity names
[MAILPOET-2439]
This commit is contained in:
committed by
Jack Kitterhing
parent
ac9761228a
commit
b81c2497cb
@ -53,8 +53,9 @@ class NewsletterLinkEntity {
|
||||
/**
|
||||
* Extra lazy is here for `getTotalClicksCount`.
|
||||
* If we didn't specify extra lazy the function would load all clicks and count them. This way it uses a single count query.
|
||||
* @ORM\OneToMany(targetEntity="MailPoet\Entities\StatisticsClicksEntity", mappedBy="link", fetch="EXTRA_LAZY")
|
||||
* @var StatisticsClicksEntity[]|ArrayCollection
|
||||
* @ORM\OneToMany(targetEntity="StatisticsClickEntity", mappedBy="link", fetch="EXTRA_LAZY")
|
||||
*
|
||||
* @var StatisticsClickEntity[]|ArrayCollection
|
||||
*/
|
||||
private $clicks;
|
||||
|
||||
|
Reference in New Issue
Block a user