mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 18:13:48 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -16,22 +16,21 @@ use Symfony\Component\EventDispatcher\Event;
|
||||
|
||||
class PasswordRecoverEvent extends Event
|
||||
{
|
||||
public const ASK_TOKEN_INVALID_FORM = 'chill_main.ask_token_invalid_form';
|
||||
final public const ASK_TOKEN_INVALID_FORM = 'chill_main.ask_token_invalid_form';
|
||||
|
||||
public const ASK_TOKEN_SUCCESS = 'chill_main.ask_token_success';
|
||||
final public const ASK_TOKEN_SUCCESS = 'chill_main.ask_token_success';
|
||||
|
||||
public const INVALID_TOKEN = 'chill_main.password_recover_invalid_token';
|
||||
final public const INVALID_TOKEN = 'chill_main.password_recover_invalid_token';
|
||||
|
||||
/**
|
||||
* @param bool $safelyGenerated true if generated safely (from console command, etc.)
|
||||
*/
|
||||
public function __construct(
|
||||
private ?string $token = null,
|
||||
private ?User $user = null,
|
||||
private readonly ?string $token = null,
|
||||
private readonly ?User $user = null,
|
||||
private $ip = null,
|
||||
private bool $safelyGenerated = false,
|
||||
)
|
||||
{
|
||||
private readonly bool $safelyGenerated = false,
|
||||
) {
|
||||
}
|
||||
|
||||
public function getIp()
|
||||
|
Reference in New Issue
Block a user