Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
romalytvynenko authored and github-actions[bot] committed Jun 6, 2024
1 parent fa06f0d commit c146a99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Support/OperationExtensions/RequestBodyExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public function handle(Operation $operation, RouteInfo $routeInfo)
$operation->addParameters($queryParams);
if (in_array($operation->method, static::HTTP_METHODS_WITHOUT_REQUEST_BODY)) {
$operation->addParameters($bodyParams);

return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Dedoc\Scramble\Support\OperationExtensions\RulesExtractor;

use Dedoc\Scramble\Support\PhpDoc;
use Illuminate\Http\Request;
use PhpParser\Node;
use PhpParser\NodeFinder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class ValidationNodesResult
public function __construct(
public $node,
public ?string $schemaName,
)
{}
) {
}
}

0 comments on commit c146a99

Please sign in to comment.