Поправил типы

This commit is contained in:
Фёдор Подлеснов 2018-02-08 17:14:48 +03:00
parent 5e6d39d638
commit f3adc4550d
6 changed files with 14 additions and 11 deletions

View file

@ -6,7 +6,7 @@ abstract class Validator_Rule_Abstract
protected $errorMsg;
protected $ctx;
public function __construct($field, $errorMsg = false)
public function __construct($field, $errorMsg = null)
{
$this->field = $field;
$this->errorMsg = $errorMsg;