Change scope of checkAndSetLabel for easier extension

This commit is contained in:
Willem Wollebrants 2016-02-22 13:31:29 +01:00
parent 4112b40452
commit 39eaf820c1

View File

@ -1006,7 +1006,7 @@ class Validator
* @param array $params
* @return array
*/
private function checkAndSetLabel($field, $msg, $params)
protected function checkAndSetLabel($field, $msg, $params)
{
if (isset($this->_labels[$field])) {
$msg = str_replace('{field}', $this->_labels[$field], $msg);