Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored Dec 19, 2023
1 parent bcc3d05 commit 196021f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Security/Authorization/Voter/UserAclVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
namespace Sonata\UserBundle\Security\Authorization\Voter;

use Sonata\UserBundle\Model\UserInterface;
use Symfony\Component\Security\Acl\Voter\AclVoter;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;

final class UserAclVoter extends AclVoter
final class UserAclVoter implements VoterInterface
{
public function supportsClass($class): bool

Check failure on line 22 in src/Security/Authorization/Voter/UserAclVoter.php

View workflow job for this annotation

GitHub Actions / Psalm

MissingParamType

src/Security/Authorization/Voter/UserAclVoter.php:22:35: MissingParamType: Parameter $class has no provided type (see https://psalm.dev/154)

Check failure on line 22 in src/Security/Authorization/Voter/UserAclVoter.php

View workflow job for this annotation

GitHub Actions / PHPStan

Method Sonata\UserBundle\Security\Authorization\Voter\UserAclVoter::supportsClass() has parameter $class with no type specified.
{
Expand Down

0 comments on commit 196021f

Please sign in to comment.