Use short array syntax (#135)

This commit is contained in:
Simon Schaufelberger
2018-02-10 19:05:19 +01:00
committed by Kevin Papst
parent 4c6158c1ea
commit 5527f29caf
14 changed files with 33 additions and 34 deletions

View File

@@ -270,7 +270,7 @@ class ProfileController extends AbstractController
UserPasswordType::class,
$user,
[
'validation_groups' => array('passwordUpdate'),
'validation_groups' => ['passwordUpdate'],
'action' => $this->generateUrl('user_profile_password', ['username' => $user->getUsername()]),
'method' => 'POST'
]