Migrate to readonly properties

This commit is contained in:
Yassine Guedidi
2025-04-05 13:59:36 +02:00
parent a107773c11
commit ca018c77e3
71 changed files with 203 additions and 199 deletions

View File

@ -22,8 +22,8 @@ class AuthCodeMailer implements AuthCodeMailerInterface
* @param string $supportUrl support URL to report any bugs
*/
public function __construct(
private MailerInterface $mailer,
private Environment $twig,
private readonly MailerInterface $mailer,
private readonly Environment $twig,
private $senderEmail,
private $senderName,
private $supportUrl,