mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
CS fixes.
This commit is contained in:
@ -179,7 +179,7 @@ abstract class Validator extends Component
|
||||
}
|
||||
foreach ($attributes as $attribute) {
|
||||
$skip = $this->skipOnError && $object->hasErrors($attribute)
|
||||
|| $this->skipOnEmpty && $this->isEmpty($object->$attribute);
|
||||
|| $this->skipOnEmpty && $this->isEmpty($object->$attribute);
|
||||
if (!$skip) {
|
||||
$this->validateAttribute($object, $attribute);
|
||||
}
|
||||
|
Reference in New Issue
Block a user