Continued:

- added more type-hints
- added some documentation
- Contact::getAccountType() should only process string, not null
This commit is contained in:
Roland Häder 2022-06-16 21:57:02 +02:00
parent 45b5f67bca
commit e484b6d6dc
3 changed files with 36 additions and 36 deletions

View file

@ -1527,7 +1527,7 @@ class Contact
* @param int $type type of contact or account
* @return string
*/
public static function getAccountType(int $type)
public static function getAccountType(int $type): string
{
switch ($type) {
case self::TYPE_ORGANISATION: