Make UserCollection and RoleCollection mutable

This commit is contained in:
Giuseppe Criscione 2024-06-07 22:36:23 +02:00
parent 32ce5e17f3
commit cc3054fca7
2 changed files with 4 additions and 0 deletions

View File

@ -9,4 +9,6 @@ class RoleCollection extends AbstractCollection
protected bool $associative = true;
protected ?string $dataType = Role::class;
protected bool $mutable = true;
}

View File

@ -10,6 +10,8 @@ class UserCollection extends AbstractCollection
protected ?string $dataType = User::class;
protected bool $mutable = true;
/**
* @param array<string, User> $data
*/