From 8f3cf80692a2e2564a00afc3e1dae27d24c8484f Mon Sep 17 00:00:00 2001 From: Imants Horsts Date: Sat, 15 Dec 2018 16:39:51 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Validator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Validator.php b/src/Validator.php index 16e91ae..fd4b579 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -53,11 +53,11 @@ class Validator public function __construct(\atk4\data\Model $model) { $this->model = $model; - + if (!isset($model->validator)) { $model->validator = $this; } - + $model->addHook('validate', $this); }