mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
Use short array syntax
This commit is contained in:
parent
6fb15a697c
commit
9c49dd3bcf
912 changed files with 5451 additions and 5462 deletions
|
|
@ -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',
|
||||
),
|
||||
);
|
||||
],
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue