Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Feb 6, 2025
1 parent 7727061 commit 7d92ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/SwaggerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ public function docs(Request $request)
$fileSystem = new Filesystem();
$documentation = $request->offsetGet('documentation');
$config = $request->offsetGet('config');
$yamlFormat = ($config['paths'][ 'format_to_use_for_docs'] === 'yaml');
$yamlFormat = ($config['paths']['format_to_use_for_docs'] === 'yaml');

$filePath = sprintf(
'%s/%s',
$config['paths'][ 'docs'],
$config['paths']['docs'],
$yamlFormat ? $config['paths']['docs_yaml'] : $config['paths']['docs_json']
);

Expand Down

0 comments on commit 7d92ba2

Please sign in to comment.