@@ -99,7 +99,7 @@ |
||
| 99 | 99 | * @param mixed $other Value or object to evaluate. |
| 100 | 100 | * @param string $description Additional information about the test |
| 101 | 101 | * @param bool $returnResult Whether to return a result or throw an exception |
| 102 | - * @return mixed |
|
| 102 | + * @return boolean |
|
| 103 | 103 | * @throws PHPUnit_Framework_ExpectationFailedException |
| 104 | 104 | */ |
| 105 | 105 | public function evaluate($other, $description = '', $returnResult = false) |
@@ -976,6 +976,7 @@ |
||
| 976 | 976 | } |
| 977 | 977 | |
| 978 | 978 | /** |
| 979 | + * @param string $message |
|
| 979 | 980 | */ |
| 980 | 981 | private function showError($message) |
| 981 | 982 | { |
@@ -459,6 +459,9 @@ discard block |
||
| 459 | 459 | } |
| 460 | 460 | } |
| 461 | 461 | |
| 462 | + /** |
|
| 463 | + * @param string $docComment |
|
| 464 | + */ |
|
| 462 | 465 | private static function cleanUpMultiLineAnnotation($docComment) |
| 463 | 466 | { |
| 464 | 467 | //removing initial ' * ' for docComment |
@@ -581,7 +584,7 @@ discard block |
||
| 581 | 584 | * |
| 582 | 585 | * @param string $className |
| 583 | 586 | * @param string $methodName |
| 584 | - * @return bool |
|
| 587 | + * @return boolean|null |
|
| 585 | 588 | * @since Method available since Release 3.4.0 |
| 586 | 589 | */ |
| 587 | 590 | public static function getErrorHandlerSettings($className, $methodName) |
@@ -734,7 +737,7 @@ discard block |
||
| 734 | 737 | * |
| 735 | 738 | * @param string $className |
| 736 | 739 | * @param string $methodName |
| 737 | - * @return bool |
|
| 740 | + * @return boolean|null |
|
| 738 | 741 | * @since Method available since Release 3.4.0 |
| 739 | 742 | */ |
| 740 | 743 | public static function getPreserveGlobalStateSettings($className, $methodName) |
@@ -805,7 +808,7 @@ discard block |
||
| 805 | 808 | * @param string $className |
| 806 | 809 | * @param string $methodName |
| 807 | 810 | * @param string $settingName |
| 808 | - * @return bool |
|
| 811 | + * @return boolean|null |
|
| 809 | 812 | * @since Method available since Release 3.4.0 |
| 810 | 813 | */ |
| 811 | 814 | private static function getBooleanAnnotationSetting($className, $methodName, $settingName) |
@@ -989,7 +992,7 @@ discard block |
||
| 989 | 992 | |
| 990 | 993 | /** |
| 991 | 994 | * @param ReflectionMethod $method |
| 992 | - * @return bool |
|
| 995 | + * @return integer |
|
| 993 | 996 | * @since Method available since Release 4.0.8 |
| 994 | 997 | */ |
| 995 | 998 | private static function isBeforeMethod(ReflectionMethod $method) |
@@ -1009,7 +1012,7 @@ discard block |
||
| 1009 | 1012 | |
| 1010 | 1013 | /** |
| 1011 | 1014 | * @param ReflectionMethod $method |
| 1012 | - * @return bool |
|
| 1015 | + * @return integer |
|
| 1013 | 1016 | * @since Method available since Release 4.0.8 |
| 1014 | 1017 | */ |
| 1015 | 1018 | private static function isAfterMethod(ReflectionMethod $method) |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | /** |
| 116 | 116 | * Set the current local namespace. |
| 117 | 117 | * |
| 118 | - * @param null|array $namespace (default: null) |
|
| 118 | + * @param string[] $namespace (default: null) |
|
| 119 | 119 | * |
| 120 | 120 | * @return null|array |
| 121 | 121 | */ |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | * @param string $code |
| 143 | 143 | * @param bool $requireSemicolons |
| 144 | 144 | * |
| 145 | - * @return array A set of statements |
|
| 145 | + * @return \PhpParser\Node[] A set of statements |
|
| 146 | 146 | */ |
| 147 | 147 | protected function parse($code, $requireSemicolons = false) |
| 148 | 148 | { |
@@ -216,7 +216,7 @@ |
||
| 216 | 216 | * |
| 217 | 217 | * @throws FatalErrorException |
| 218 | 218 | * |
| 219 | - * @param $interfaces |
|
| 219 | + * @param Node\Name[] $interfaces |
|
| 220 | 220 | * @param Stmt $stmt |
| 221 | 221 | */ |
| 222 | 222 | protected function ensureInterfacesExist($interfaces, $stmt) |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | /** |
| 87 | 87 | * These arguments will be excluded from help output. |
| 88 | 88 | * |
| 89 | - * @return array |
|
| 89 | + * @return string[] |
|
| 90 | 90 | */ |
| 91 | 91 | protected function getHiddenArguments() |
| 92 | 92 | { |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | /** |
| 109 | 109 | * These options will be excluded from help output. |
| 110 | 110 | * |
| 111 | - * @return array |
|
| 111 | + * @return string[] |
|
| 112 | 112 | */ |
| 113 | 113 | protected function getHiddenOptions() |
| 114 | 114 | { |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | * |
| 213 | 213 | * @param string $pattern |
| 214 | 214 | * |
| 215 | - * @return bool |
|
| 215 | + * @return boolean|null |
|
| 216 | 216 | */ |
| 217 | 217 | private function validateRegex($pattern) |
| 218 | 218 | { |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | * Validate that only one of the given $options is set. |
| 230 | 230 | * |
| 231 | 231 | * @param InputInterface $input |
| 232 | - * @param array $options |
|
| 232 | + * @param string[] $options |
|
| 233 | 233 | */ |
| 234 | 234 | private function validateOnlyOne(InputInterface $input, array $options) |
| 235 | 235 | { |
@@ -253,6 +253,9 @@ discard block |
||
| 253 | 253 | $this->readline->clearHistory(); |
| 254 | 254 | } |
| 255 | 255 | |
| 256 | + /** |
|
| 257 | + * @param string $string |
|
| 258 | + */ |
|
| 256 | 259 | public static function escape($string) |
| 257 | 260 | { |
| 258 | 261 | return OutputFormatter::escape($string); |
@@ -42,7 +42,6 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * PresenterAware interface. |
| 44 | 44 | * |
| 45 | - * @param Presenter $manager |
|
| 46 | 45 | */ |
| 47 | 46 | public function setPresenter(Presenter $presenter) |
| 48 | 47 | { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | /** |
| 55 | 55 | * Prepare formatted class array. |
| 56 | 56 | * |
| 57 | - * @param array $class |
|
| 57 | + * @param array $classes |
|
| 58 | 58 | * |
| 59 | 59 | * @return array |
| 60 | 60 | */ |