Skip to content

Commit

Permalink
Update style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowocyn committed Nov 28, 2023
1 parent 402fb85 commit 6540b2a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Documentation/Schemas/OpenAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,12 @@ public function generatePaths()
if ($controller instanceof Controller) {
$path = match (Str::afterLast($route->getName(), '.')) {
'details' => (new Path())->generateDetailAndDestroy($controller),
'search' => (new Path())->generateSearch($controller),
'mutate' => (new Path())->generateMutate($controller),
'operate' => (new Path())->generateActions($controller),
'restore' => (new Path())->generateRestore($controller),
'forceDelete' => (new Path())->generateForceDelete($controller),
default => null
'search' => (new Path())->generateSearch($controller),
'mutate' => (new Path())->generateMutate($controller),
'operate' => (new Path())->generateActions($controller),
'restore' => (new Path())->generateRestore($controller),
'forceDelete' => (new Path())->generateForceDelete($controller),
default => null
};

if (!is_null($path)) {
Expand Down

0 comments on commit 6540b2a

Please sign in to comment.