Fix return type

[MAILPOET-2716]
This commit is contained in:
Pavel Dohnal
2020-04-21 14:35:42 +02:00
committed by Veljko V
parent 260b8931f7
commit c1e48a750c

View File

@ -31,7 +31,7 @@ class NewsletterSegmentEntity {
private $segment; private $segment;
/** /**
* @return NewsletterEntity * @return NewsletterEntity|null
*/ */
public function getNewsletter() { public function getNewsletter() {
$this->safelyLoadToOneAssociation('newsletter'); $this->safelyLoadToOneAssociation('newsletter');
@ -43,7 +43,7 @@ class NewsletterSegmentEntity {
} }
/** /**
* @return SegmentEntity * @return SegmentEntity|null
*/ */
public function getSegment() { public function getSegment() {
$this->safelyLoadToOneAssociation('segment'); $this->safelyLoadToOneAssociation('segment');