mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed static analysis issue
This commit is contained in:
parent
e44428f87c
commit
5ec676c40c
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ class AttachmentVoter extends ExtendedVoter
|
|||
|
||||
return $this->resolver->inherit($user, $param, $this->mapOperation($attribute)) ?? false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private function mapOperation(string $attribute): string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue