@@ -284,7 +284,7 @@ |
||
284 | 284 | * |
285 | 285 | * @param string $message to echo out before waiting for user input |
286 | 286 | * @param bool $default this value is returned if no selection is made. |
287 | - * @return bool whether user confirmed. |
|
287 | + * @return boolean|null whether user confirmed. |
|
288 | 288 | * Will return true if [[interactive]] is false. |
289 | 289 | */ |
290 | 290 | public function confirm($message, $default = false) |
@@ -52,7 +52,7 @@ |
||
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 | { |