mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
This commit is contained in:
parent
302f2847b8
commit
3599c4c745
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue