Mark newsletter in statistics click nullable
[MAILPOET-2818]
This commit is contained in:
committed by
Veljko V
parent
66d4a5caac
commit
b654b071b0
@@ -40,7 +40,7 @@ class StatisticsClickEntity {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\ManyToOne(targetEntity="MailPoet\Entities\NewsletterLinkEntity", inversedBy="clicks")
|
* @ORM\ManyToOne(targetEntity="MailPoet\Entities\NewsletterLinkEntity", inversedBy="clicks")
|
||||||
* @var NewsletterLinkEntity
|
* @var NewsletterLinkEntity|null
|
||||||
*/
|
*/
|
||||||
private $link;
|
private $link;
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ class StatisticsClickEntity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return NewsletterLinkEntity
|
* @return NewsletterLinkEntity|null
|
||||||
*/
|
*/
|
||||||
public function getLink() {
|
public function getLink() {
|
||||||
$this->safelyLoadToOneAssociation('link');
|
$this->safelyLoadToOneAssociation('link');
|
||||||
|
Reference in New Issue
Block a user