Skip to content

Commit

Permalink
Merge "REST: Remove unnecessary curly braces"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Sep 18, 2024
2 parents 55c8c72 + 026cf37 commit ea40894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo/rest-api/src/Application/UseCases/UseCaseError.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public static function newValueTooLong( string $path, int $maxLength, bool $isPa
public static function newInvalidKey( string $path, string $key ): self {
return new self(
self::INVALID_KEY,
"Invalid key '{$key}' in '{$path}'",
"Invalid key '$key' in '$path'",
[ self::CONTEXT_PATH => $path, self::CONTEXT_KEY => $key ]
);
}
Expand Down

0 comments on commit ea40894

Please sign in to comment.