From f8f163d054110f7e0ff6650fca146b474335f4bd Mon Sep 17 00:00:00 2001 From: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> Date: Fri, 7 Jul 2023 22:36:27 +0200 Subject: Chore/processing of depreciations and updating code to php72 minimum (#5504) * processing of depreciations and updating of code to php7.2 minimum * Autoformat many strange array indenting And revert a few unwanted changes --------- Co-authored-by: Luc Co-authored-by: Alexandre Alapetite --- app/Mailers/UserMailer.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/Mailers/UserMailer.php') diff --git a/app/Mailers/UserMailer.php b/app/Mailers/UserMailer.php index 6b10ccc74..ad634290d 100644 --- a/app/Mailers/UserMailer.php +++ b/app/Mailers/UserMailer.php @@ -19,14 +19,14 @@ class FreshRSS_User_Mailer extends Minz_Mailer { $this->view->username = $username; $this->view->site_title = FreshRSS_Context::$system_conf->title; $this->view->validation_url = Minz_Url::display( - array( + [ 'c' => 'user', 'a' => 'validateEmail', - 'params' => array( + 'params' => [ 'username' => $username, - 'token' => $user_config->email_validation_token - ) - ), + 'token' => $user_config->email_validation_token, + ], + ], 'txt', true ); -- cgit v1.2.3