Skip to content

Commit

Permalink
fixes #327 lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Feb 2, 2024
1 parent b5afc6f commit 4aa9ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelRequestDocsMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function handle(Request $request, Closure $next): Response
$jsonContent = json_encode($content);

if (in_array('gzip', $request->getEncodings()) && function_exists('gzencode')) {
$level = 9; // Best compression.
$level = 9; // Best compression.
$compressedContent = gzencode($jsonContent, $level);

// Create a new response object with compressed content.
Expand Down

0 comments on commit 4aa9ec7

Please sign in to comment.