Skip to content

Commit

Permalink
Solve issues
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jan 22, 2024
1 parent b2fe127 commit 1ac383d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.18",
"psalm/plugin-symfony": "^5.0",
"rector/rector": "^0.18",
"rector/rector": "^0.19",
"sonata-project/admin-bundle": "^4.20",
"sonata-project/block-bundle": "^4.11 || ^5.0",
"sonata-project/doctrine-orm-admin-bundle": "^4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Action/LoginAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public function __invoke(Request $request): Response
/**
* TODO: Use instanceof FlashBagAwareSessionInterface when dropping Symfony 5 support.
*
* @phpstan-ignore-next-line
* @psalm-suppress UndefinedInterfaceMethod
* @phpstan-ignore-next-line
*/
$request->getSession()->getFlashBag()->add(
'sonata_user_error',
Expand Down
2 changes: 1 addition & 1 deletion src/Action/ResetAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public function __invoke(Request $request, string $token): Response
/**
* TODO: Use instanceof FlashBagAwareSessionInterface when dropping Symfony 5 support.
*
* @phpstan-ignore-next-line
* @psalm-suppress UndefinedInterfaceMethod
* @phpstan-ignore-next-line
*/
$request->getSession()->getFlashBag()->add(
'success',
Expand Down

0 comments on commit 1ac383d

Please sign in to comment.