Skip to content
Code-Schnipsel Gruppen Projekte
Commit 87384e26 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'next-3.x' into 'main'

fix: correct method types

See merge request !138
Übergeordnete 9949121f 8547a26a
No related branches found
No related tags found
2 Merge Requests!140Update 'next-4.x' with latest changes from 'main',!138fix: correct method types
Pipeline #10963 mit Warnungen bestanden mit Phase
in 1 Minute und 15 Sekunden
......@@ -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;
......
......@@ -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)
{
}
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren