Fix indentation.
This commit is contained in:
@ -7,10 +7,11 @@ class CustomValidator {
|
||||
}
|
||||
|
||||
function init() {
|
||||
$this->validator->addValidator('isString', function ($val) {
|
||||
$this->validator
|
||||
->addValidator('isString', function ($val) {
|
||||
return is_string($val);
|
||||
});
|
||||
|
||||
return $this->validator;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user