Use short array syntax (#135)
This commit is contained in:
committed by
Kevin Papst
parent
4c6158c1ea
commit
5527f29caf
@@ -19,9 +19,9 @@ class Role extends Constraint
|
||||
{
|
||||
const ROLE_ERROR = 'xd5hffg-dsfef3-426a-83d7-1f2d33hs5d84';
|
||||
|
||||
protected static $errorNames = array(
|
||||
protected static $errorNames = [
|
||||
self::ROLE_ERROR => 'ROLE_ERROR',
|
||||
);
|
||||
];
|
||||
|
||||
public $message = 'This value is not a valid role.';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user