mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-19 01:19:31 +00:00
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
|
@ -69,7 +69,7 @@ class StructureVoter extends ExtendedVoter
|
|||
}
|
||||
|
||||
/**
|
||||
* Maps a instance type to the permission name.
|
||||
* Maps an instance type to the permission name.
|
||||
*
|
||||
* @param object|string $subject The subject for which the permission name should be generated
|
||||
*
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ class UserVoter extends ExtendedVoter
|
|||
}
|
||||
}
|
||||
|
||||
//Else just check users permission:
|
||||
//Else just check user permission:
|
||||
if ($this->resolver->isValidOperation('users', $attribute)) {
|
||||
return $this->resolver->inherit($user, 'users', $attribute) ?? false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue