mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-30 07:45:36 +02:00
Fixed code style.
This commit is contained in:
parent
1aed1d1d26
commit
9a7223a301
142 changed files with 534 additions and 716 deletions
|
@ -160,9 +160,9 @@ class PermissionResolver
|
|||
/**
|
||||
* Sets the new value for the operation.
|
||||
*
|
||||
* @param HasPermissionsInterface $user The user or group for which the value should be changed.
|
||||
* @param string $permission The name of the permission that should be changed.
|
||||
* @param string $operation The name of the operation that should be changed.
|
||||
* @param HasPermissionsInterface $user the user or group for which the value should be changed
|
||||
* @param string $permission the name of the permission that should be changed
|
||||
* @param string $operation the name of the operation that should be changed
|
||||
* @param bool|null $new_val The new value for the permission. true = ALLOW, false = DISALLOW, null = INHERIT
|
||||
*/
|
||||
public function setPermission(HasPermissionsInterface $user, string $permission, string $operation, ?bool $new_val): void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue