From ef0c9e86a9784d38a77f69cd866ce59cd2a60598 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 17 Mar 2022 16:53:39 +0200 Subject: [PATCH] type fixes --- application/Espo/Core/Templates/Entities/Company.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/Espo/Core/Templates/Entities/Company.php b/application/Espo/Core/Templates/Entities/Company.php index 65252a9107..9f70fc3793 100644 --- a/application/Espo/Core/Templates/Entities/Company.php +++ b/application/Espo/Core/Templates/Entities/Company.php @@ -40,11 +40,13 @@ class Company extends Entity { public function getEmailAddressGroup(): EmailAddressGroup { + /** @var EmailAddressGroup */ return $this->getValueObject('emailAddress'); } public function getPhoneNumberGroup(): PhoneNumberGroup { + /** @var PhoneNumberGroup */ return $this->getValueObject('phoneNumber'); } @@ -60,6 +62,7 @@ class Company extends Entity public function getBillingAddress(): Address { + /** @var Address */ return $this->getValueObject('billingAddress'); } @@ -70,6 +73,7 @@ class Company extends Entity public function getShippingAddress(): Address { + /** @var Address */ return $this->getValueObject('shippingAddress'); }