Skip to content

Commit

Permalink
Merge pull request #539 from fredden/phpcs/slevomat/8.15
Browse files Browse the repository at this point in the history
Add missing comma for function call with arrow function as argument
  • Loading branch information
Ocramius authored Apr 1, 2024
2 parents cc9b97b + 5dc37b2 commit a1e4a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ComposerRequireChecker/Cli/CheckCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function __invoke(string $string): void
$resultsWriter = new CliJson(
$outputWrapper,
$application?->getVersion() ?? 'Unknown version',
static fn () => new DateTimeImmutable()
static fn () => new DateTimeImmutable(),
);
break;
case 'text':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function (string $string): void {
$this->output .= $string;
},
'0.0.1',
static fn () => new DateTimeImmutable('@0')
static fn () => new DateTimeImmutable('@0'),
);
}

Expand Down

0 comments on commit a1e4a0c

Please sign in to comment.