Completed
Push — 2.1 ( 6791fd...f8cf1e )
by Alexander
06:13
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.
framework/console/Controller.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
      *
263 263
      * @param string $message to echo out before waiting for user input
264 264
      * @param boolean $default this value is returned if no selection is made.
265
-     * @return boolean whether user confirmed.
265
+     * @return boolean|null whether user confirmed.
266 266
      * Will return true if [[interactive]] is false.
267 267
      */
268 268
     public function confirm($message, $default = false)
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
      * until [[beforeAction()]] is being called.
299 299
      *
300 300
      * @param string $actionID the action id of the current request
301
-     * @return array the names of the options valid for the action
301
+     * @return string[] the names of the options valid for the action
302 302
      */
303 303
     public function options($actionID)
304 304
     {
Please login to merge, or discard this patch.
framework/helpers/BaseConsole.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
      * - windows without ansicon
577 577
      * - not tty consoles
578 578
      *
579
-     * @param mixed $stream
579
+     * @param resource $stream
580 580
      * @return boolean true if the stream supports ANSI colors, otherwise false.
581 581
      */
582 582
     public static function streamSupportsAnsiColors($stream)
@@ -601,7 +601,7 @@  discard block
 block discarded – undo
601 601
      * @param boolean $refresh whether to force checking and not re-use cached size value.
602 602
      * This is useful to detect changing window size while the application is running but may
603 603
      * not get up to date values on every terminal.
604
-     * @return array|boolean An array of ($width, $height) or false when it was not able to determine size.
604
+     * @return string An array of ($width, $height) or false when it was not able to determine size.
605 605
      */
606 606
     public static function getScreenSize($refresh = false)
607 607
     {
@@ -807,7 +807,7 @@  discard block
 block discarded – undo
807 807
      *
808 808
      * @param string $message to print out before waiting for user input
809 809
      * @param boolean $default this value is returned if no selection is made.
810
-     * @return boolean whether user confirmed
810
+     * @return boolean|null whether user confirmed
811 811
      */
812 812
     public static function confirm($message, $default = false)
813 813
     {
Please login to merge, or discard this patch.
framework/web/ViewAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 
10 10
 use Yii;
11 11
 use yii\base\Action;
12
-use yii\base\InvalidParamException;
13 12
 use yii\base\ViewNotFoundException;
14 13
 
15 14
 /**
Please login to merge, or discard this patch.