Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Sep 18, 2023
1 parent 5030c81 commit 2e0375d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private function generateValidationErrorsMessages(): string
}

/** @var callable(string|\Ibexa\Contracts\Core\Repository\Values\Translation): string $convertToString */
$convertToString = function ($error): string {
$convertToString = static function ($error): string {
return (string)$error;
};
$validationErrors = array_map($convertToString, $validationErrors);
Expand Down

0 comments on commit 2e0375d

Please sign in to comment.