Completed
Pull Request — master (#11644)
by Kostas
08:45
created
framework/i18n/MessageFormatter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.