Skip to content

Commit 39aa6fc

Browse files
authored
[ci] handle possible return types (#260)
* [ci] handle possible return types * php-cs-fixer it up
1 parent 6601f15 commit 39aa6fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ResetPasswordHelperInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ interface ResetPasswordHelperInterface
3232
*
3333
* @throws ResetPasswordExceptionInterface
3434
*/
35-
public function generateResetToken(object $user/*, ?int $resetRequestLifetime = null*/): ResetPasswordToken;
35+
public function generateResetToken(object $user/* , ?int $resetRequestLifetime = null */): ResetPasswordToken;
3636

3737
/**
3838
* Validate a reset request and fetch the user from persistence.

tests/IntegrationTests/ResetPasswordServiceDefinitionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ final class DefinitionPublicCompilerPass implements CompilerPassInterface
6060
{
6161
public $definition;
6262

63-
public function process(ContainerBuilder $container)
63+
public function process(ContainerBuilder $container): void
6464
{
6565
$container->getDefinition($this->definition)
6666
->setPublic(true)
@@ -75,7 +75,7 @@ final class ResetPasswordDefinitionTestKernel extends ResetPasswordTestKernel
7575
{
7676
public $compilerPass;
7777

78-
protected function build(ContainerBuilder $container)
78+
protected function build(ContainerBuilder $container): void
7979
{
8080
$container->addCompilerPass($this->compilerPass);
8181
}

0 commit comments

Comments
 (0)