Skip to content

Commit

Permalink
Remove unused dependency (#309)
Browse files Browse the repository at this point in the history
This will:
- title
  • Loading branch information
jskowronski39 authored Jan 8, 2024
2 parents 9ce7f74 + a8e9668 commit afabe10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Controller/Security/ConnectCheckAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@

namespace App\Controller\Security;

use KnpU\OAuth2ClientBundle\Client\ClientRegistry;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Routing\Annotation\Route;

class ConnectCheckAction extends AbstractController
{
#[Route('/security/connect/discord/check', name: 'app_security_connect_discord_check')]
public function __invoke(ClientRegistry $clientRegistry): RedirectResponse
public function __invoke(): RedirectResponse
{
throw new \RuntimeException('This should never be executed!');
}
Expand Down
3 changes: 1 addition & 2 deletions src/Controller/Security/LogoutAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@

namespace App\Controller\Security;

use KnpU\OAuth2ClientBundle\Client\ClientRegistry;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Routing\Annotation\Route;

class LogoutAction extends AbstractController
{
#[Route('/security/logout', name: 'app_security_logout')]
public function __invoke(ClientRegistry $clientRegistry): RedirectResponse
public function __invoke(): RedirectResponse
{
throw new \RuntimeException('This should never be executed!');
}
Expand Down

0 comments on commit afabe10

Please sign in to comment.