mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-15 13:51:24 +00:00
Remove no longer used annotation use statements and replace with attribute use statements
This commit is contained in:
@@ -11,7 +11,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\DocStoreBundle\Security\Authenticator;
|
||||
|
||||
use Chill\DocStoreBundle\Security\Authenticator\DavOnUrlTokenExtractor;
|
||||
use Lexik\Bundle\JWTAuthenticationBundle\Exception\InvalidTokenException;
|
||||
use Lexik\Bundle\JWTAuthenticationBundle\Exception\JWTDecodeFailureException;
|
||||
use Lexik\Bundle\JWTAuthenticationBundle\Exception\MissingTokenException;
|
||||
@@ -33,8 +32,7 @@ class JWTOnDavUrlAuthenticator extends AbstractAuthenticator
|
||||
public function __construct(
|
||||
private readonly JWTTokenManagerInterface $jwtManager,
|
||||
private readonly DavOnUrlTokenExtractor $davOnUrlTokenExtractor,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
public function supports(Request $request): ?bool
|
||||
{
|
||||
|
||||
@@ -78,8 +78,6 @@ class PersonDocumentVoter extends AbstractChillVoter implements ProvideRoleHiera
|
||||
/**
|
||||
* @param string $attribute
|
||||
* @param PersonDocument $subject
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected function voteOnAttribute($attribute, $subject, TokenInterface $token): bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user