@@ -185,7 +185,7 @@ |
||
| 185 | 185 | * @access public |
| 186 | 186 | * |
| 187 | 187 | * @param string $name |
| 188 | - * @param mixed $value |
|
| 188 | + * @param integer $value |
|
| 189 | 189 | * |
| 190 | 190 | * @return void |
| 191 | 191 | * @throws \Micro\base\Exception |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | * |
| 97 | 97 | * @access protected |
| 98 | 98 | * |
| 99 | - * @param mixed $data Any content |
|
| 99 | + * @param null|string $data Any content |
|
| 100 | 100 | * |
| 101 | 101 | * @return string |
| 102 | 102 | */ |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * |
| 81 | 81 | * @param string $path path to redirect |
| 82 | 82 | * |
| 83 | - * @return void|bool |
|
| 83 | + * @return null|false |
|
| 84 | 84 | */ |
| 85 | 85 | public function redirect($path) |
| 86 | 86 | { |
@@ -319,7 +319,7 @@ |
||
| 319 | 319 | * |
| 320 | 320 | * @param string $name Attribute name |
| 321 | 321 | * |
| 322 | - * @return array |
|
| 322 | + * @return boolean |
|
| 323 | 323 | */ |
| 324 | 324 | public function checkAttributeExists($name) |
| 325 | 325 | { |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | * |
| 105 | 105 | * @access public |
| 106 | 106 | * |
| 107 | - * @param mixed $option |
|
| 107 | + * @param integer $option |
|
| 108 | 108 | * @param mixed $value |
| 109 | 109 | * |
| 110 | 110 | * @return bool |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * |
| 52 | 52 | * @param int $type type id |
| 53 | 53 | * |
| 54 | - * @return mixed |
|
| 54 | + * @return string |
|
| 55 | 55 | * @static |
| 56 | 56 | */ |
| 57 | 57 | public static function getTypeLabel($type = self::TYPE_SUCCESS) |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * Get labels for types |
| 64 | 64 | * |
| 65 | 65 | * @access public |
| 66 | - * @return array |
|
| 66 | + * @return string[] |
|
| 67 | 67 | * @static |
| 68 | 68 | */ |
| 69 | 69 | public static function getTypeLabels() |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * |
| 24 | 24 | * @access public |
| 25 | 25 | * |
| 26 | - * @return \Micro\Base\Command |
|
| 26 | + * @return Console |
|
| 27 | 27 | */ |
| 28 | 28 | public function getApplication() |
| 29 | 29 | { |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | static::$aliases[strtolower($alias)][] = $realPath; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param string $alias |
|
| 41 | + */ |
|
| 39 | 42 | public static function getAlias($alias) |
| 40 | 43 | { |
| 41 | 44 | $alias = strtolower($alias); |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | /** |
| 87 | 87 | * Default config path |
| 88 | 88 | * |
| 89 | - * @return string |
|
| 89 | + * @return boolean |
|
| 90 | 90 | */ |
| 91 | 91 | protected function getConfig() |
| 92 | 92 | { |
@@ -99,7 +99,6 @@ discard block |
||
| 99 | 99 | * @access public |
| 100 | 100 | * |
| 101 | 101 | * @param IRequest $request Request object |
| 102 | - * @param string $configPath Path to config file |
|
| 103 | 102 | * |
| 104 | 103 | * @return Response |
| 105 | 104 | * @throws \Exception |
@@ -147,7 +146,6 @@ discard block |
||
| 147 | 146 | * |
| 148 | 147 | * @access public |
| 149 | 148 | * |
| 150 | - * @param string $configPath Path to configure Container |
|
| 151 | 149 | * |
| 152 | 150 | * @return void |
| 153 | 151 | */ |
@@ -195,7 +193,6 @@ discard block |
||
| 195 | 193 | * |
| 196 | 194 | * @access public |
| 197 | 195 | * |
| 198 | - * @param bool|false $isCli CLI or Web |
|
| 199 | 196 | * |
| 200 | 197 | * @return ConsoleResolver|HMVCResolver |
| 201 | 198 | */ |