mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Fixed PHPstan issues
This commit is contained in:
parent
2554120e6e
commit
df11f62a2f
5 changed files with 11 additions and 4 deletions
|
@ -25,9 +25,8 @@ class PermissionPresetsHelper
|
|||
* Apply the given preset to the permission holding entity (like a user)
|
||||
* The permission data will be reset during the process and then the preset will be applied.
|
||||
*
|
||||
* @param
|
||||
* @param string $preset_name The name of the preset to use
|
||||
* @return PermissionData
|
||||
* @return HasPermissionsInterface
|
||||
*/
|
||||
public function applyPreset(HasPermissionsInterface $perm_holder, string $preset_name): HasPermissionsInterface
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue