diff --git a/src/QUI/ERP/Address.php b/src/QUI/ERP/Address.php index ab300f21d9ba4598545cfa0492811384ca192d3a..6c9cc8ed9c960e7b447f653f22cd44e4c7985a05 100644 --- a/src/QUI/ERP/Address.php +++ b/src/QUI/ERP/Address.php @@ -24,9 +24,9 @@ class Address extends QUI\Users\Address * Address constructor. * * @param array $data - * @param User|null $User + * @param QUIUserInterface|null $User */ - public function __construct($data = [], $User = null) + public function __construct(array $data = [], QUI\Interfaces\Users\User $User = null) { if ($User) { $this->User = $User; diff --git a/src/QUI/ERP/User.php b/src/QUI/ERP/User.php index 41f65d8fb110e27e5aa49157de1175b7adbb06b6..9ab8bb0430153320a83e163aa614d8b6ec3545ce 100644 --- a/src/QUI/ERP/User.php +++ b/src/QUI/ERP/User.php @@ -655,14 +655,14 @@ public function setCompanyStatus(bool $status) /** * Does nothing */ - public function addToGroup(int $groupId) + public function addToGroup(int|string $groupId) { } /** * Does nothing */ - public function removeGroup(Group|int $Group) + public function removeGroup(Group|int|string $Group) { }