mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -43,13 +43,10 @@ class TokenManager
|
||||
protected $logger;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
* @param string $secret
|
||||
*/
|
||||
protected $secret;
|
||||
|
||||
public function __construct($secret, LoggerInterface $logger)
|
||||
public function __construct(protected $secret, LoggerInterface $logger)
|
||||
{
|
||||
$this->secret = $secret;
|
||||
$this->logger = $logger;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user