@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * Get the error code from the last operation |
54 | 54 | * @link http://php.net/manual/en/messageformatter.geterrorcode.php |
55 | - * @return string Code of the last error. |
|
55 | + * @return integer Code of the last error. |
|
56 | 56 | */ |
57 | 57 | public function getErrorCode() |
58 | 58 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * @param string $pattern The pattern string to insert parameters into. |
80 | 80 | * @param array $params The array of name value pairs to insert into the format string. |
81 | 81 | * @param string $language The locale to use for formatting locale-dependent parts |
82 | - * @return string|boolean The formatted pattern string or `FALSE` if an error occurred |
|
82 | + * @return string|false The formatted pattern string or `FALSE` if an error occurred |
|
83 | 83 | */ |
84 | 84 | public function format($pattern, $params, $language) |
85 | 85 | { |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | * @param string $pattern The pattern string to insert things into. |
245 | 245 | * @param array $args The array of values to insert into the format string |
246 | 246 | * @param string $locale The locale to use for formatting locale-dependent parts |
247 | - * @return string|boolean The formatted pattern string or `FALSE` if an error occurred |
|
247 | + * @return false|string The formatted pattern string or `FALSE` if an error occurred |
|
248 | 248 | */ |
249 | 249 | protected function fallbackFormat($pattern, $args, $locale) |
250 | 250 | { |