Skip to content

Commit 8c9440e

Browse files
(lint) fix
1 parent 67c8b20 commit 8c9440e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/LaravelRequestDocsToOpenApi.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ public function openApi(array $docs): LaravelRequestDocsToOpenApi
3333
private function docsToOpenApi(array $docs): void
3434
{
3535
$this->openApi['paths'] = [];
36-
$deleteWithBody = config('request-docs.open_api.delete_with_body', false);
36+
$deleteWithBody = config('request-docs.open_api.delete_with_body', false);
3737
$excludeHttpMethods = array_map(fn ($item) => strtolower($item), config('request-docs.open_api.exclude_http_methods', []));
3838

3939
foreach ($docs as $doc) {
40-
41-
$httpMethod = strtolower($doc->getHttpMethod());
40+
$httpMethod = strtolower($doc->getHttpMethod());
4241

4342
if (in_array($httpMethod, $excludeHttpMethods)) {
4443
continue;

0 commit comments

Comments
 (0)