mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 23:39:51 +01:00
Fixed static analysis issue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user