Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit 8547a26a erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: correct method types

Übergeordneter 0c334020
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!140Update 'next-4.x' with latest changes from 'main',!138fix: correct method types
Pipeline-Nr. 10960 bestanden
......@@ -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% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren