From 3599c4c74583389ee43c4b2f12d38d841ec4623a Mon Sep 17 00:00:00 2001 From: djmaze Date: Wed, 23 Sep 2020 10:28:05 +0200 Subject: [PATCH] Resolve https://github.com/the-djmaze/rainloop-webmail/issues/4 --- .../RainLoop/Providers/AddressBook/Classes/Property.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rainloop/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/Classes/Property.php b/rainloop/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/Classes/Property.php index 21e0e4bcb..4b26c4bb9 100644 --- a/rainloop/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/Classes/Property.php +++ b/rainloop/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/Classes/Property.php @@ -51,7 +51,7 @@ class Property $this->TypeStr = $sTypeStr; } - public function Clear() + public function Clear() : void { $this->IdProperty = 0; @@ -91,7 +91,7 @@ class Property return $this->IsEmail() || $this->IsName() || $this->IsWeb(); } - public function TypesAsArray() : bool + public function TypesAsArray() : array { $aResult = array(); if (!empty($this->TypeStr)) @@ -108,7 +108,7 @@ class Property return \array_map('strtoupper', $this->TypesAsArray()); } - public function UpdateDependentValues() + public function UpdateDependentValues() : void { $this->Value = \trim($this->Value); $this->ValueCustom = \trim($this->ValueCustom);