Fixed further inspection issues

This commit is contained in:
Jan Böhmer 2024-03-03 20:33:24 +01:00
parent 33e36f3d2b
commit 87533b6031
37 changed files with 46 additions and 71 deletions

View file

@ -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