CS fixes.

This commit is contained in:
resurtm
2013-06-07 22:41:11 +06:00
parent d48ef4198e
commit 7a7d2a9c06
57 changed files with 1611 additions and 1640 deletions

View File

@ -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);
}