Use short array declaration

This commit is contained in:
Romain Neutron
2013-11-18 11:58:12 +01:00
parent 2898b317c4
commit 56b373ee6e
723 changed files with 8350 additions and 8352 deletions

View File

@@ -47,7 +47,7 @@ class UserRepository extends EntityRepository
*/
public function findByLogin($login)
{
return $this->findOneBy(array('login' => $login));
return $this->findOneBy(['login' => $login]);
}
/**