From 13cfb51efb305c9f73e3861bb37722211f9ee378 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sat, 23 Feb 2019 00:27:52 +0700 Subject: [PATCH] remove private modifier from constants --- src/Validator/Naming.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Validator/Naming.php b/src/Validator/Naming.php index 8867b64..77367f4 100644 --- a/src/Validator/Naming.php +++ b/src/Validator/Naming.php @@ -9,14 +9,14 @@ class Naming extends AbstractValidator { - private const SPECIAL = 'SPECIAL'; - private const SINGLE_DOT = 'SINGLE_DOT'; - private const SINGLE_HYPHEN = 'SINGLE_HYPHEN'; - private const SINGLE_APOSTROPHE = 'SINGLE_APOSTROPHE'; - private const CONSECUTIVE_DOT = 'CONSECUTIVE_DOT'; - private const CONSECUTIVE_HYPHEN = 'CONSECUTIVE_HYPHEN'; - private const CONSECUTIVE_APOSTROPHE = 'CONSECUTIVE_APOSTROPHE'; - private const DOT_TOBE_IN_LAST_WORD = 'DOT_TOBE_IN_LAST_WORD'; + const SPECIAL = 'SPECIAL'; + const SINGLE_DOT = 'SINGLE_DOT'; + const SINGLE_HYPHEN = 'SINGLE_HYPHEN'; + const SINGLE_APOSTROPHE = 'SINGLE_APOSTROPHE'; + const CONSECUTIVE_DOT = 'CONSECUTIVE_DOT'; + const CONSECUTIVE_HYPHEN = 'CONSECUTIVE_HYPHEN'; + const CONSECUTIVE_APOSTROPHE = 'CONSECUTIVE_APOSTROPHE'; + const DOT_TOBE_IN_LAST_WORD = 'DOT_TOBE_IN_LAST_WORD'; protected $messageTemplates = [ self::SPECIAL => 'Names can contain only letters, hyphens, apostrophe, spaces & full stops',