Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Oct 3, 2023
1 parent 804c005 commit 48e08ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MakePhpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __invoke( $args, $assoc_args ) {
continue;
}

$result_count++;
++$result_count;
}

WP_CLI::success( sprintf( 'Created %d %s.', $result_count, Utils\pluralize( 'file', $result_count ) ) );
Expand Down
2 changes: 1 addition & 1 deletion src/PhpArrayGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function toString( Translations $translations, array $options = []
}

$headers = [
'X-Generator' => 'x-generator',
'X-Generator' => 'x-generator',
];

foreach ( $translations->getHeaders() as $name => $value ) {
Expand Down

0 comments on commit 48e08ae

Please sign in to comment.