From d2a6bf4aeb75e75d3faacf9bec286e0de58394b6 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 20 Jul 2022 11:29:12 +0200 Subject: [PATCH] Fix CS --- DataCollector/SecurityDataCollector.php | 2 +- Tests/Functional/UserPasswordEncoderCommandTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DataCollector/SecurityDataCollector.php b/DataCollector/SecurityDataCollector.php index e5756bb0..6efe388a 100644 --- a/DataCollector/SecurityDataCollector.php +++ b/DataCollector/SecurityDataCollector.php @@ -63,7 +63,7 @@ public function __construct(TokenStorageInterface $tokenStorage = null, RoleHier * * @param \Throwable|null $exception */ - public function collect(Request $request, Response $response/*, \Throwable $exception = null*/) + public function collect(Request $request, Response $response/* , \Throwable $exception = null */) { if (null === $this->tokenStorage) { $this->data = [ diff --git a/Tests/Functional/UserPasswordEncoderCommandTest.php b/Tests/Functional/UserPasswordEncoderCommandTest.php index 78864da6..c2591b7f 100644 --- a/Tests/Functional/UserPasswordEncoderCommandTest.php +++ b/Tests/Functional/UserPasswordEncoderCommandTest.php @@ -284,7 +284,7 @@ public function testEncodePasswordAsksNonProvidedUserClass() [2] Custom\Class\Test\User [3] Symfony\Component\Security\Core\User\User EOTXT - , $this->passwordEncoderCommandTester->getDisplay(true)); + , $this->passwordEncoderCommandTester->getDisplay(true)); } public function testNonInteractiveEncodePasswordUsesFirstUserClass()