mirror of
https://github.com/getformwork/formwork.git
synced 2025-03-14 19:19:48 +01:00
Make UserCollection
and RoleCollection
mutable
This commit is contained in:
parent
32ce5e17f3
commit
cc3054fca7
@ -9,4 +9,6 @@ class RoleCollection extends AbstractCollection
|
||||
protected bool $associative = true;
|
||||
|
||||
protected ?string $dataType = Role::class;
|
||||
|
||||
protected bool $mutable = true;
|
||||
}
|
||||
|
@ -10,6 +10,8 @@ class UserCollection extends AbstractCollection
|
||||
|
||||
protected ?string $dataType = User::class;
|
||||
|
||||
protected bool $mutable = true;
|
||||
|
||||
/**
|
||||
* @param array<string, User> $data
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user