Добавлены телефоны и СНИЛС

This commit is contained in:
2021-04-29 11:57:08 +03:00
parent 7a7723a140
commit 1fe3ca9cd9

View File

@@ -241,13 +241,23 @@ class SeptemberFirstUser implements ResourceOwnerInterface
}
/**
* Номер телефона
* Номера телефонов
*
* @return array|null
*/
public function getPhones(): ?array
{
return $this->getField('phones');
}
/**
* СНИЛС
*
* @return string|null
*/
public function getPhone(): ?string
public function getSnils(): ?string
{
return $this->getField('phone');
return $this->getField('passport.snils');
}
/**