Skip to content

Commit

Permalink
Merge pull request #127 from wp-cli/fix/phpcs
Browse files Browse the repository at this point in the history
Fix PHPCS errors
  • Loading branch information
swissspidy authored Aug 5, 2024
2 parents f691199 + 42fb34b commit 70267e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Checksum_Base_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected function get_files( $path ) {
$path,
RecursiveDirectoryIterator::SKIP_DOTS
),
function ( $current, $key, $iterator ) use ( $path ) {
function ( $current ) use ( $path ) {
return $this->filter_file( self::normalize_directory_separators( substr( $current->getPathname(), strlen( $path ) ) ) );
}
),
Expand Down

0 comments on commit 70267e4

Please sign in to comment.