Small fix on validation model

remotes/upstream/api-rewrite
Mike Koch 7 years ago
parent d476f86c8c
commit 6f87dfc149

@ -8,10 +8,13 @@ class ValidationModel {
*/ */
public $errorKeys; public $errorKeys;
/**
* @var bool
*/
public $valid; public $valid;
function __construct() { function __construct() {
$errorKeys = []; $this->errorKeys = [];
$valid = true; $this->valid = true;
} }
} }
Loading…
Cancel
Save