- Added PDO as requirement
- example now defined as mixed type in ContextField
This commit is contained in:
1 parent
9b360c4010
commit
128d4ce34a
2 files changed
+2
-1
No files matched your search
@@ -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,
|
||||||
) {}
|
) {}
|
||||||
|
|||||||
Reference in new issue
Block a user