This commit is contained in:
2020-10-29 18:17:25 +08:00
parent 6839b64be8
commit 53ae43b79b
198 changed files with 708 additions and 850 deletions
+3 -2
View File
@@ -5,6 +5,7 @@
* Date: 2018/4/4 0004
* Time: 18:44
*/
declare(strict_types=1);
namespace validator;
@@ -15,8 +16,8 @@ class IntegerValidator extends BaseValidator
const MIN = 'min';
const MAX = 'max';
public $value = null;
private $type = '';
public ?int $value = null;
private string $type = '';
/**
* @return bool