mirror of
https://github.com/pelican-dev/panel.git
synced 2025-09-08 06:08:40 +02:00
make phpstan happy
This commit is contained in:
parent
2fe2697794
commit
405f71e174
@ -67,11 +67,11 @@ class StartupVariable extends Field
|
||||
return match ($this->getType()) {
|
||||
StartupVariableType::Number => [
|
||||
...parent::getDefaultStateCasts(),
|
||||
app(NumberStateCast::class, ['isNullable' => false]),
|
||||
new NumberStateCast(false),
|
||||
],
|
||||
StartupVariableType::Toggle => [
|
||||
...parent::getDefaultStateCasts(),
|
||||
app(BooleanStateCast::class, ['isNullable' => false]),
|
||||
new BooleanStateCast(false),
|
||||
],
|
||||
default => parent::getDefaultStateCasts()
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user