mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Use short array declaration
This commit is contained in:
@@ -47,7 +47,7 @@ class UserRepository extends EntityRepository
|
||||
*/
|
||||
public function findByLogin($login)
|
||||
{
|
||||
return $this->findOneBy(array('login' => $login));
|
||||
return $this->findOneBy(['login' => $login]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user