@@ -224,7 +224,7 @@ |
||
224 | 224 | } |
225 | 225 | |
226 | 226 | /** |
227 | - * @return array the begin and end pages that need to be displayed. |
|
227 | + * @return integer[] the begin and end pages that need to be displayed. |
|
228 | 228 | */ |
229 | 229 | protected function getPageRange() |
230 | 230 | { |
@@ -1178,7 +1178,7 @@ |
||
1178 | 1178 | /** |
1179 | 1179 | * Given the value in bytes formats number part of the human readable form. |
1180 | 1180 | * |
1181 | - * @param string|integer|float $value value in bytes to be formatted. |
|
1181 | + * @param integer $value value in bytes to be formatted. |
|
1182 | 1182 | * @param integer $decimals the number of digits after the decimal point |
1183 | 1183 | * @param array $options optional configuration for the number formatter. This parameter will be merged with [[numberFormatterOptions]]. |
1184 | 1184 | * @param array $textOptions optional configuration for the number formatter. This parameter will be merged with [[numberFormatterTextOptions]]. |
@@ -788,7 +788,7 @@ |
||
788 | 788 | * In the above step 1 and 3, events named [[EVENT_BEFORE_DELETE]] and [[EVENT_AFTER_DELETE]] |
789 | 789 | * will be raised by the corresponding methods. |
790 | 790 | * |
791 | - * @return integer|false the number of rows deleted, or false if the deletion is unsuccessful for some reason. |
|
791 | + * @return boolean the number of rows deleted, or false if the deletion is unsuccessful for some reason. |
|
792 | 792 | * Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful. |
793 | 793 | * @throws StaleObjectException if [[optimisticLock|optimistic locking]] is enabled and the data |
794 | 794 | * being deleted is outdated. |
@@ -34,7 +34,7 @@ |
||
34 | 34 | /** |
35 | 35 | * Checks that target directory is valid. Asks questions in tricky cases. |
36 | 36 | * @param string $target |
37 | - * @return boolean|string |
|
37 | + * @return false|string |
|
38 | 38 | */ |
39 | 39 | protected function normalizeTargetDir($target) |
40 | 40 | { |
@@ -77,6 +77,7 @@ |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * @inheritdoc |
80 | + * @param Context $context |
|
80 | 81 | */ |
81 | 82 | public function __construct($reflector = null, $context = null, $config = []) |
82 | 83 | { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * Returning TypeDoc for a type given |
41 | 41 | * @param string $type |
42 | - * @return null|ClassDoc|InterfaceDoc|TraitDoc |
|
42 | + * @return TypeDoc |
|
43 | 43 | */ |
44 | 44 | public function getType($type) |
45 | 45 | { |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | |
377 | 377 | /** |
378 | 378 | * @param ClassDoc $classA |
379 | - * @param ClassDoc|string $classB |
|
379 | + * @param string $classB |
|
380 | 380 | * @return boolean |
381 | 381 | */ |
382 | 382 | protected function isSubclassOf($classA, $classB) |
@@ -146,8 +146,8 @@ |
||
146 | 146 | } |
147 | 147 | |
148 | 148 | /** |
149 | - * @param null $visibility |
|
150 | - * @param null $definedBy |
|
149 | + * @param null|string $visibility |
|
150 | + * @param string $definedBy |
|
151 | 151 | * @return PropertyDoc[] |
152 | 152 | */ |
153 | 153 | private function getFilteredProperties($visibility = null, $definedBy = null) |
@@ -157,7 +157,7 @@ |
||
157 | 157 | } |
158 | 158 | |
159 | 159 | /** |
160 | - * @param BaseDoc|string $context |
|
160 | + * @param BaseDoc|null $context |
|
161 | 161 | * @return string |
162 | 162 | */ |
163 | 163 | private function resolveNamespace($context) |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * Render markdown files |
23 | 23 | * |
24 | 24 | * @param array $files list of markdown files to render |
25 | - * @param $targetDir |
|
25 | + * @param string $targetDir |
|
26 | 26 | */ |
27 | 27 | abstract public function render($files, $targetDir); |
28 | 28 |