@@ -453,7 +453,7 @@ discard block |
||
| 453 | 453 | } |
| 454 | 454 | |
| 455 | 455 | /** |
| 456 | - * @param mixed $exceptionName |
|
| 456 | + * @param string $exceptionName |
|
| 457 | 457 | * @param string $exceptionMessage |
| 458 | 458 | * @param int $exceptionCode |
| 459 | 459 | * |
@@ -467,7 +467,7 @@ discard block |
||
| 467 | 467 | } |
| 468 | 468 | |
| 469 | 469 | /** |
| 470 | - * @param mixed $exceptionName |
|
| 470 | + * @param string $exceptionName |
|
| 471 | 471 | * @param string $exceptionMessageRegExp |
| 472 | 472 | * @param int $exceptionCode |
| 473 | 473 | * |
@@ -1028,6 +1028,7 @@ discard block |
||
| 1028 | 1028 | * Sets the name of a TestCase. |
| 1029 | 1029 | * |
| 1030 | 1030 | * @param string |
| 1031 | + * @param string $name |
|
| 1031 | 1032 | */ |
| 1032 | 1033 | public function setName($name) |
| 1033 | 1034 | { |
@@ -1262,8 +1263,6 @@ discard block |
||
| 1262 | 1263 | * This method is a wrapper for the setlocale() function that automatically |
| 1263 | 1264 | * resets the locale to its original value after the test is run. |
| 1264 | 1265 | * |
| 1265 | - * @param int $category |
|
| 1266 | - * @param string $locale |
|
| 1267 | 1266 | * |
| 1268 | 1267 | * @throws PHPUnit_Framework_Exception |
| 1269 | 1268 | * |
@@ -1774,7 +1773,6 @@ discard block |
||
| 1774 | 1773 | } |
| 1775 | 1774 | |
| 1776 | 1775 | /** |
| 1777 | - * @param mixed $value, ... |
|
| 1778 | 1776 | * |
| 1779 | 1777 | * @return PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls |
| 1780 | 1778 | * |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * Returns the loader to be used. |
| 28 | 28 | * |
| 29 | - * @return PHPUnit_Runner_TestSuiteLoader |
|
| 29 | + * @return string |
|
| 30 | 30 | */ |
| 31 | 31 | public function getLoader() |
| 32 | 32 | { |
@@ -1004,6 +1004,7 @@ |
||
| 1004 | 1004 | } |
| 1005 | 1005 | |
| 1006 | 1006 | /** |
| 1007 | + * @param string $message |
|
| 1007 | 1008 | */ |
| 1008 | 1009 | private function showError($message) |
| 1009 | 1010 | { |
@@ -1019,7 +1019,7 @@ |
||
| 1019 | 1019 | } |
| 1020 | 1020 | |
| 1021 | 1021 | /** |
| 1022 | - * @param $extension |
|
| 1022 | + * @param string $extension |
|
| 1023 | 1023 | * @param string $message |
| 1024 | 1024 | * |
| 1025 | 1025 | * @since Method available since Release 4.7.3 |
@@ -484,6 +484,9 @@ discard block |
||
| 484 | 484 | } |
| 485 | 485 | } |
| 486 | 486 | |
| 487 | + /** |
|
| 488 | + * @param string $docComment |
|
| 489 | + */ |
|
| 487 | 490 | private static function cleanUpMultiLineAnnotation($docComment) |
| 488 | 491 | { |
| 489 | 492 | //removing initial ' * ' for docComment |
@@ -616,7 +619,7 @@ discard block |
||
| 616 | 619 | * @param string $className |
| 617 | 620 | * @param string $methodName |
| 618 | 621 | * |
| 619 | - * @return bool |
|
| 622 | + * @return boolean|null |
|
| 620 | 623 | * |
| 621 | 624 | * @since Method available since Release 3.4.0 |
| 622 | 625 | */ |
@@ -779,7 +782,7 @@ discard block |
||
| 779 | 782 | * @param string $className |
| 780 | 783 | * @param string $methodName |
| 781 | 784 | * |
| 782 | - * @return bool |
|
| 785 | + * @return boolean|null |
|
| 783 | 786 | * |
| 784 | 787 | * @since Method available since Release 3.4.0 |
| 785 | 788 | */ |
@@ -855,7 +858,7 @@ discard block |
||
| 855 | 858 | * @param string $methodName |
| 856 | 859 | * @param string $settingName |
| 857 | 860 | * |
| 858 | - * @return bool |
|
| 861 | + * @return boolean|null |
|
| 859 | 862 | * |
| 860 | 863 | * @since Method available since Release 3.4.0 |
| 861 | 864 | */ |
@@ -1049,7 +1052,7 @@ discard block |
||
| 1049 | 1052 | /** |
| 1050 | 1053 | * @param ReflectionMethod $method |
| 1051 | 1054 | * |
| 1052 | - * @return bool |
|
| 1055 | + * @return integer |
|
| 1053 | 1056 | * |
| 1054 | 1057 | * @since Method available since Release 4.0.8 |
| 1055 | 1058 | */ |
@@ -1073,7 +1076,7 @@ discard block |
||
| 1073 | 1076 | /** |
| 1074 | 1077 | * @param ReflectionMethod $method |
| 1075 | 1078 | * |
| 1076 | - * @return bool |
|
| 1079 | + * @return integer |
|
| 1077 | 1080 | * |
| 1078 | 1081 | * @since Method available since Release 4.0.8 |
| 1079 | 1082 | */ |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Returns the bank account's balance. |
| 31 | 31 | * |
| 32 | - * @return float |
|
| 32 | + * @return integer |
|
| 33 | 33 | */ |
| 34 | 34 | public function getBalance() |
| 35 | 35 | { |
@@ -129,6 +129,9 @@ |
||
| 129 | 129 | } |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | + /** |
|
| 133 | + * @param string $lines |
|
| 134 | + */ |
|
| 132 | 135 | protected function indent($lines) |
| 133 | 136 | { |
| 134 | 137 | return trim(str_replace("\n", "\n ", $lines)); |
@@ -98,6 +98,9 @@ |
||
| 98 | 98 | ); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $content |
|
| 103 | + */ |
|
| 101 | 104 | private function createDOMDocument($content) |
| 102 | 105 | { |
| 103 | 106 | $document = new DOMDocument; |
@@ -326,6 +326,9 @@ |
||
| 326 | 326 | $this->assertEquals(array(true), $this->exporter->toArray(true)); |
| 327 | 327 | } |
| 328 | 328 | |
| 329 | + /** |
|
| 330 | + * @param string $string |
|
| 331 | + */ |
|
| 329 | 332 | private function trimNewline($string) |
| 330 | 333 | { |
| 331 | 334 | return preg_replace('/[ ]*\n/', "\n", $string); |