add errors def to form class

This commit is contained in:
Frédéric FRANCE 2018-10-16 22:09:11 +02:00 committed by GitHub
parent 00dc78dd01
commit 4e14c2817c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,11 @@ class Form
*/
public $error='';
/**
* @var string[] Array of error strings
*/
public $errors = array();
public $num;
// Cache arrays