Skip to content

Commit

Permalink
Fix CS error
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Apr 3, 2024
1 parent c1dd85e commit a759f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fetch_Command.php
Expand Up @@ -127,7 +127,7 @@ function ( $args ) use ( $response_size_limit ) {
remove_all_filters( 'oembed_dataparse' ); // Save a few cycles.
add_filter(
'oembed_dataparse',
function ( $ret, $data, $url ) {
function ( $ret, $data, $url ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found

Check warning on line 130 in src/Fetch_Command.php

View workflow job for this annotation

GitHub Actions / code-quality / PHPCS

The method parameter $url is never used
return $data;
},
PHP_INT_MAX,
Expand Down

0 comments on commit a759f55

Please sign in to comment.