mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-26 18:21:02 +00:00
Convert array + phpDoc
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
This commit is contained in:
parent
7eccbda99f
commit
4094ea4771
61 changed files with 596 additions and 558 deletions
|
@ -82,7 +82,7 @@ class AuthCodeMailer implements AuthCodeMailerInterface
|
|||
{
|
||||
$template = $this->twig->loadTemplate('WallabagUserBundle:TwoFactor:email_auth_code.html.twig');
|
||||
|
||||
$subject = $template->renderBlock('subject', array());
|
||||
$subject = $template->renderBlock('subject', []);
|
||||
$bodyHtml = $template->renderBlock('body_html', [
|
||||
'user' => $user->getName(),
|
||||
'code' => $user->getEmailAuthCode(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue