Поправил типы
This commit is contained in:
parent
5e6d39d638
commit
f3adc4550d
6 changed files with 14 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue