@@ -2265,7 +2265,6 @@ |
||
2265 | 2265 | } |
2266 | 2266 | |
2267 | 2267 | /** |
2268 | - * @param mixed $value, ... |
|
2269 | 2268 | * @return PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls |
2270 | 2269 | * @since Method available since Release 3.0.0 |
2271 | 2270 | */ |
@@ -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) |
@@ -442,7 +442,7 @@ discard block |
||
442 | 442 | } |
443 | 443 | |
444 | 444 | /** |
445 | - * @param mixed $exceptionName |
|
445 | + * @param string $exceptionName |
|
446 | 446 | * @param string $exceptionMessage |
447 | 447 | * @param int $exceptionCode |
448 | 448 | * @since Method available since Release 3.2.0 |
@@ -455,7 +455,7 @@ discard block |
||
455 | 455 | } |
456 | 456 | |
457 | 457 | /** |
458 | - * @param mixed $exceptionName |
|
458 | + * @param string $exceptionName |
|
459 | 459 | * @param string $exceptionMessageRegExp |
460 | 460 | * @param int $exceptionCode |
461 | 461 | * @since Method available since Release 4.3.0 |
@@ -1000,6 +1000,7 @@ discard block |
||
1000 | 1000 | * Sets the name of a TestCase. |
1001 | 1001 | * |
1002 | 1002 | * @param string |
1003 | + * @param string $name |
|
1003 | 1004 | */ |
1004 | 1005 | public function setName($name) |
1005 | 1006 | { |
@@ -1213,8 +1214,6 @@ discard block |
||
1213 | 1214 | * This method is a wrapper for the setlocale() function that automatically |
1214 | 1215 | * resets the locale to its original value after the test is run. |
1215 | 1216 | * |
1216 | - * @param int $category |
|
1217 | - * @param string $locale |
|
1218 | 1217 | * @throws PHPUnit_Framework_Exception |
1219 | 1218 | * @since Method available since Release 3.1.0 |
1220 | 1219 | */ |
@@ -1676,7 +1675,6 @@ discard block |
||
1676 | 1675 | } |
1677 | 1676 | |
1678 | 1677 | /** |
1679 | - * @param mixed $value, ... |
|
1680 | 1678 | * @return PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls |
1681 | 1679 | * @since Method available since Release 3.0.0 |
1682 | 1680 | */ |
@@ -976,6 +976,7 @@ |
||
976 | 976 | } |
977 | 977 | |
978 | 978 | /** |
979 | + * @param string $message |
|
979 | 980 | */ |
980 | 981 | private function showError($message) |
981 | 982 | { |
@@ -978,7 +978,7 @@ |
||
978 | 978 | } |
979 | 979 | |
980 | 980 | /** |
981 | - * @param $extension |
|
981 | + * @param string $extension |
|
982 | 982 | * @param string $message |
983 | 983 | * @since Method available since Release 4.7.3 |
984 | 984 | */ |
@@ -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 | { |