mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
fix: PHPStan errors
This commit is contained in:
parent
96fba34f4a
commit
8256fc0a81
|
@ -8,6 +8,9 @@ use Symfony\Component\Validator\Constraints as Assert;
|
|||
|
||||
final class ConfigurationData
|
||||
{
|
||||
/**
|
||||
* @var array<string,string|integer|array<int,string>>
|
||||
*/
|
||||
#[Assert\Collection(
|
||||
allowExtraFields: false,
|
||||
fields: [
|
||||
|
@ -20,6 +23,9 @@ final class ConfigurationData
|
|||
)]
|
||||
public array $database;
|
||||
|
||||
/**
|
||||
* @var array<string,string|null>
|
||||
*/
|
||||
#[Assert\Collection(
|
||||
allowExtraFields: false,
|
||||
fields: ['docroot' => new Assert\Choice([null, 'web', 'docroot'])],
|
||||
|
|
Loading…
Reference in a new issue