stable

Clone or download

Read-only

refactor: statically restrict role string value

We should inform psalm that RoleAssignment instantiation is only accepting Role::ADMIN or Role::READER values. No functional changes. Part of story #26359: define dedicated baseline administrators & readers Change-Id: Ia3c95dc2d1d798b44fc9c3099fa6c2601473e815

Modified Files

Name
M plugins/baseline/include/Domain/RoleAssignment.php +6 −1 Go to diff View file