Use short array syntax

This commit is contained in:
Henrique Moody 2015-10-17 22:44:47 -03:00
commit 9c49dd3bcf
912 changed files with 5451 additions and 5462 deletions

View file

@ -20,12 +20,12 @@ use Respect\Validation\Exceptions\SubdivisionCodeException;
*/
class IdSubdivisionCodeException extends SubdivisionCodeException
{
public static $defaultTemplates = array(
self::MODE_DEFAULT => array(
public static $defaultTemplates = [
self::MODE_DEFAULT => [
self::STANDARD => '{{name}} must be a subdivision code of Indonesia',
),
self::MODE_NEGATIVE => array(
],
self::MODE_NEGATIVE => [
self::STANDARD => '{{name}} must not be a subdivision code of Indonesia',
),
);
],
];
}