mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-14 06:09:33 +00:00
Fixed further inspection issues
This commit is contained in:
parent
33e36f3d2b
commit
87533b6031
37 changed files with 46 additions and 71 deletions
|
|
@ -57,7 +57,7 @@ final class GroupVoter extends Voter
|
|||
*
|
||||
* @return bool True if the attribute and subject are supported, false otherwise
|
||||
*/
|
||||
protected function supports(string $attribute, $subject): bool
|
||||
protected function supports(string $attribute, mixed $subject): bool
|
||||
{
|
||||
if (is_a($subject, Group::class, true)) {
|
||||
return $this->helper->isValidOperation('groups', $attribute);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue