chore: linter
This commit is contained in:
parent
5668ad01d5
commit
3e1a92f486
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ $cli
|
|||
// var_dump($models);
|
||||
$arguments = [new App('UTC'), $services, $routes, $models, $keys[$platform], $authCounts[$platform] ?? 0];
|
||||
foreach (['swagger2', 'open-api3'] as $format) {
|
||||
$formatInstance = match($format) {
|
||||
$formatInstance = match ($format) {
|
||||
'swagger2' => new Swagger2(...$arguments),
|
||||
'open-api3' => new OpenAPI3(...$arguments),
|
||||
default => throw new Exception('Format not found: ' . $format)
|
||||
|
|
Loading…
Reference in a new issue