mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-14 14:19: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
|
|
@ -135,7 +135,7 @@ final class AttachmentVoter 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, Attachment::class, true)) {
|
||||
//These are the allowed attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue