- Added PDO as requirement
- example now defined as mixed type in ContextField
This commit is contained in:
parent
9b360c4010
commit
b8daa60e66
@ -13,6 +13,7 @@
|
|||||||
"php": "^8.4",
|
"php": "^8.4",
|
||||||
"php-di/php-di": "dev-master",
|
"php-di/php-di": "dev-master",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
|
"ext-pdo": "*",
|
||||||
"mcnd/lean": "dev-master"
|
"mcnd/lean": "dev-master"
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
|
|||||||
@ -18,7 +18,7 @@ class ContextField
|
|||||||
public ?int $minValue = null,
|
public ?int $minValue = null,
|
||||||
public ?int $maxValue = null,
|
public ?int $maxValue = null,
|
||||||
public ?string $regexFormat = null,
|
public ?string $regexFormat = null,
|
||||||
public ?string $example = null,
|
public mixed $example = null,
|
||||||
public mixed $default = null,
|
public mixed $default = null,
|
||||||
public bool $hidden = false,
|
public bool $hidden = false,
|
||||||
) {}
|
) {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user