Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark authored and StyleCIBot committed Dec 24, 2020
1 parent ef7ffe8 commit cd47601
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function getName(): string
* @param string $id Message ID.
* @param string $locale Locale to get message for.
* @param array $parameters Message parameters.
*
* @return string|null Message string or null if message was not found.
*/
public function getMessage(string $id, string $locale, array $parameters = []): ?string
Expand All @@ -47,6 +48,7 @@ public function getMessage(string $id, string $locale, array $parameters = []):
* @param string $message Message to be formatted.
* @param array $parameters Parameters to use.
* @param string $locale Locale to use. Usually affects formatting numbers, dates etc.
*
* @return string Formatted message.
*/
public function format(string $message, array $parameters, string $locale): string
Expand Down
1 change: 1 addition & 0 deletions src/Locale.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/**
* Locale stores locale information created from BCP 47 formatted string.
*
* @see https://tools.ietf.org/html/bcp47
*/
final class Locale
Expand Down
1 change: 1 addition & 0 deletions src/MessageReaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ interface MessageReaderInterface
* @param string $category Category of the message to get.
* @param string $locale Locale of the message to get.
* @param array $parameters Parameters that may be used to decide about the message to obtain.
*
* @return string|null The translated message or null if translation wasn't found.
*/
public function getMessage(string $id, string $category, string $locale, array $parameters = []): ?string;
Expand Down

0 comments on commit cd47601

Please sign in to comment.