diff --git a/composer.json b/composer.json index 6266a6e..8adc462 100644 --- a/composer.json +++ b/composer.json @@ -13,6 +13,7 @@ "php": "^8.4", "php-di/php-di": "dev-master", "ext-json": "*", + "ext-pdo": "*", "mcnd/lean": "dev-master" }, "repositories": [ diff --git a/src/Attribute/ContextField.php b/src/Attribute/ContextField.php index 75481f3..e9e4f37 100644 --- a/src/Attribute/ContextField.php +++ b/src/Attribute/ContextField.php @@ -18,7 +18,7 @@ class ContextField public ?int $minValue = null, public ?int $maxValue = null, public ?string $regexFormat = null, - public ?string $example = null, + public mixed $example = null, public mixed $default = null, public bool $hidden = false, ) {}