Solved more problems of issues #4

This commit is contained in:
djmaze 2020-09-24 10:22:23 +02:00
parent 578131e22a
commit f70d2c6884
4 changed files with 20 additions and 30 deletions

View file

@ -479,7 +479,7 @@ class Contact
/**
* @param mixed $oProp
*/
private function addArrayPropertyHelper(array &$aProperties, $oArrayProp, int $iType) : string
private function addArrayPropertyHelper(array &$aProperties, $oArrayProp, int $iType) : void
{
foreach ($oArrayProp as $oProp)
{
@ -501,7 +501,7 @@ class Contact
}
}
public function PopulateByVCard(string $sUid, string $sVCard, string $sEtag = '', $oLogger = null)
public function PopulateByVCard(string $sUid, string $sVCard, string $sEtag = '', $oLogger = null) : bool
{
if ("\xef\xbb\xbf" === \substr($sVCard, 0, 3))
{

View file

@ -24,7 +24,7 @@ class Tag
$this->Clear();
}
public function Clear()
public function Clear() : void
{
$this->IdContactTag = '';
$this->Name = '';