From e665a71ebeffec6f9f03126dcc765f7a1bde3b0c Mon Sep 17 00:00:00 2001 From: davitbek Date: Sat, 24 Feb 2018 03:25:20 +0400 Subject: [PATCH] Update CoreValidator.php --- src/CoreValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CoreValidator.php b/src/CoreValidator.php index 1360ce1..a86c709 100644 --- a/src/CoreValidator.php +++ b/src/CoreValidator.php @@ -872,7 +872,7 @@ public function unique($name, $params = [], $message = '', $when = null) * @return mixed * @throws \Exception */ - private function getTextLength($length) + protected function getTextLength($length) { if (is_numeric($length)) { return $length;