@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * of name => value |
| 78 | 78 | * |
| 79 | 79 | * @param string $url The URL to find cookies for. |
| 80 | - * @return array |
|
| 80 | + * @return string |
|
| 81 | 81 | */ |
| 82 | 82 | public function get($url) |
| 83 | 83 | { |
@@ -160,9 +160,9 @@ discard block |
||
| 160 | 160 | * Asserts that a haystack that is stored in a static attribute of a class |
| 161 | 161 | * or an attribute of an object contains a needle. |
| 162 | 162 | * |
| 163 | - * @param mixed $needle |
|
| 163 | + * @param string|boolean $needle |
|
| 164 | 164 | * @param string $haystackAttributeName |
| 165 | - * @param mixed $haystackClassOrObject |
|
| 165 | + * @param ClassWithNonPublicAttributes $haystackClassOrObject |
|
| 166 | 166 | * @param string $message |
| 167 | 167 | * @param bool $ignoreCase |
| 168 | 168 | * @param bool $checkForObjectIdentity |
@@ -233,9 +233,9 @@ discard block |
||
| 233 | 233 | * Asserts that a haystack that is stored in a static attribute of a class |
| 234 | 234 | * or an attribute of an object does not contain a needle. |
| 235 | 235 | * |
| 236 | - * @param mixed $needle |
|
| 236 | + * @param string|boolean $needle |
|
| 237 | 237 | * @param string $haystackAttributeName |
| 238 | - * @param mixed $haystackClassOrObject |
|
| 238 | + * @param ClassWithNonPublicAttributes $haystackClassOrObject |
|
| 239 | 239 | * @param string $message |
| 240 | 240 | * @param bool $ignoreCase |
| 241 | 241 | * @param bool $checkForObjectIdentity |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | * |
| 323 | 323 | * @param string $type |
| 324 | 324 | * @param string $haystackAttributeName |
| 325 | - * @param mixed $haystackClassOrObject |
|
| 325 | + * @param ClassWithNonPublicAttributes $haystackClassOrObject |
|
| 326 | 326 | * @param bool $isNativeType |
| 327 | 327 | * @param string $message |
| 328 | 328 | * |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | * |
| 382 | 382 | * @param string $type |
| 383 | 383 | * @param string $haystackAttributeName |
| 384 | - * @param mixed $haystackClassOrObject |
|
| 384 | + * @param ClassWithNonPublicAttributes $haystackClassOrObject |
|
| 385 | 385 | * @param bool $isNativeType |
| 386 | 386 | * @param string $message |
| 387 | 387 | * |
@@ -429,7 +429,7 @@ discard block |
||
| 429 | 429 | * |
| 430 | 430 | * @param int $expectedCount |
| 431 | 431 | * @param string $haystackAttributeName |
| 432 | - * @param mixed $haystackClassOrObject |
|
| 432 | + * @param stdClass $haystackClassOrObject |
|
| 433 | 433 | * @param string $message |
| 434 | 434 | * |
| 435 | 435 | * @since Method available since Release 3.6.0 |
@@ -475,7 +475,7 @@ discard block |
||
| 475 | 475 | * |
| 476 | 476 | * @param int $expectedCount |
| 477 | 477 | * @param string $haystackAttributeName |
| 478 | - * @param mixed $haystackClassOrObject |
|
| 478 | + * @param stdClass $haystackClassOrObject |
|
| 479 | 479 | * @param string $message |
| 480 | 480 | * |
| 481 | 481 | * @since Method available since Release 3.6.0 |
@@ -569,7 +569,7 @@ discard block |
||
| 569 | 569 | /** |
| 570 | 570 | * Asserts that a variable is not equal to an attribute of an object. |
| 571 | 571 | * |
| 572 | - * @param mixed $expected |
|
| 572 | + * @param string $expected |
|
| 573 | 573 | * @param string $actualAttributeName |
| 574 | 574 | * @param string $actualClassOrObject |
| 575 | 575 | * @param string $message |
@@ -670,7 +670,7 @@ discard block |
||
| 670 | 670 | /** |
| 671 | 671 | * Asserts that an attribute is greater than another value. |
| 672 | 672 | * |
| 673 | - * @param mixed $expected |
|
| 673 | + * @param integer $expected |
|
| 674 | 674 | * @param string $actualAttributeName |
| 675 | 675 | * @param string $actualClassOrObject |
| 676 | 676 | * @param string $message |
@@ -707,7 +707,7 @@ discard block |
||
| 707 | 707 | /** |
| 708 | 708 | * Asserts that an attribute is greater than or equal to another value. |
| 709 | 709 | * |
| 710 | - * @param mixed $expected |
|
| 710 | + * @param integer $expected |
|
| 711 | 711 | * @param string $actualAttributeName |
| 712 | 712 | * @param string $actualClassOrObject |
| 713 | 713 | * @param string $message |
@@ -740,7 +740,7 @@ discard block |
||
| 740 | 740 | /** |
| 741 | 741 | * Asserts that an attribute is smaller than another value. |
| 742 | 742 | * |
| 743 | - * @param mixed $expected |
|
| 743 | + * @param integer $expected |
|
| 744 | 744 | * @param string $actualAttributeName |
| 745 | 745 | * @param string $actualClassOrObject |
| 746 | 746 | * @param string $message |
@@ -773,7 +773,7 @@ discard block |
||
| 773 | 773 | /** |
| 774 | 774 | * Asserts that an attribute is smaller than or equal to another value. |
| 775 | 775 | * |
| 776 | - * @param mixed $expected |
|
| 776 | + * @param integer $expected |
|
| 777 | 777 | * @param string $actualAttributeName |
| 778 | 778 | * @param string $actualClassOrObject |
| 779 | 779 | * @param string $message |
@@ -1294,9 +1294,9 @@ discard block |
||
| 1294 | 1294 | * Asserts that a variable and an attribute of an object do not have the |
| 1295 | 1295 | * same type and value. |
| 1296 | 1296 | * |
| 1297 | - * @param mixed $expected |
|
| 1297 | + * @param string $expected |
|
| 1298 | 1298 | * @param string $actualAttributeName |
| 1299 | - * @param object $actualClassOrObject |
|
| 1299 | + * @param ClassWithNonPublicAttributes $actualClassOrObject |
|
| 1300 | 1300 | * @param string $message |
| 1301 | 1301 | */ |
| 1302 | 1302 | public static function assertAttributeNotSame($expected, $actualAttributeName, $actualClassOrObject, $message = '') |
@@ -1376,7 +1376,7 @@ discard block |
||
| 1376 | 1376 | * |
| 1377 | 1377 | * @param string $expected |
| 1378 | 1378 | * @param string $attributeName |
| 1379 | - * @param mixed $classOrObject |
|
| 1379 | + * @param stdClass $classOrObject |
|
| 1380 | 1380 | * @param string $message |
| 1381 | 1381 | * |
| 1382 | 1382 | * @since Method available since Release 3.5.0 |
@@ -1417,7 +1417,7 @@ discard block |
||
| 1417 | 1417 | * |
| 1418 | 1418 | * @param string $expected |
| 1419 | 1419 | * @param string $attributeName |
| 1420 | - * @param mixed $classOrObject |
|
| 1420 | + * @param stdClass $classOrObject |
|
| 1421 | 1421 | * @param string $message |
| 1422 | 1422 | * |
| 1423 | 1423 | * @since Method available since Release 3.5.0 |
@@ -1458,7 +1458,7 @@ discard block |
||
| 1458 | 1458 | * |
| 1459 | 1459 | * @param string $expected |
| 1460 | 1460 | * @param string $attributeName |
| 1461 | - * @param mixed $classOrObject |
|
| 1461 | + * @param stdClass $classOrObject |
|
| 1462 | 1462 | * @param string $message |
| 1463 | 1463 | * |
| 1464 | 1464 | * @since Method available since Release 3.5.0 |
@@ -2332,7 +2332,7 @@ discard block |
||
| 2332 | 2332 | * Returns a PHPUnit_Framework_Constraint_TraversableContains matcher |
| 2333 | 2333 | * object. |
| 2334 | 2334 | * |
| 2335 | - * @param mixed $value |
|
| 2335 | + * @param string $value |
|
| 2336 | 2336 | * @param bool $checkForObjectIdentity |
| 2337 | 2337 | * @param bool $checkForNonObjectIdentity |
| 2338 | 2338 | * |
@@ -2653,7 +2653,7 @@ discard block |
||
| 2653 | 2653 | /** |
| 2654 | 2654 | * Returns a PHPUnit_Framework_Constraint_StringStartsWith matcher object. |
| 2655 | 2655 | * |
| 2656 | - * @param mixed $prefix |
|
| 2656 | + * @param string $prefix |
|
| 2657 | 2657 | * |
| 2658 | 2658 | * @return PHPUnit_Framework_Constraint_StringStartsWith |
| 2659 | 2659 | * |
@@ -2682,7 +2682,7 @@ discard block |
||
| 2682 | 2682 | /** |
| 2683 | 2683 | * Returns a PHPUnit_Framework_Constraint_StringEndsWith matcher object. |
| 2684 | 2684 | * |
| 2685 | - * @param mixed $suffix |
|
| 2685 | + * @param string $suffix |
|
| 2686 | 2686 | * |
| 2687 | 2687 | * @return PHPUnit_Framework_Constraint_StringEndsWith |
| 2688 | 2688 | * |
@@ -2199,7 +2199,6 @@ |
||
| 2199 | 2199 | } |
| 2200 | 2200 | |
| 2201 | 2201 | /** |
| 2202 | - * @param mixed $value, ... |
|
| 2203 | 2202 | * |
| 2204 | 2203 | * @return PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls |
| 2205 | 2204 | * |
@@ -454,7 +454,7 @@ discard block |
||
| 454 | 454 | } |
| 455 | 455 | |
| 456 | 456 | /** |
| 457 | - * @param mixed $exceptionName |
|
| 457 | + * @param string $exceptionName |
|
| 458 | 458 | * @param string $exceptionMessage |
| 459 | 459 | * @param int $exceptionCode |
| 460 | 460 | * |
@@ -468,7 +468,7 @@ discard block |
||
| 468 | 468 | } |
| 469 | 469 | |
| 470 | 470 | /** |
| 471 | - * @param mixed $exceptionName |
|
| 471 | + * @param string $exceptionName |
|
| 472 | 472 | * @param string $exceptionMessageRegExp |
| 473 | 473 | * @param int $exceptionCode |
| 474 | 474 | * |
@@ -1031,6 +1031,7 @@ discard block |
||
| 1031 | 1031 | * Sets the name of a TestCase. |
| 1032 | 1032 | * |
| 1033 | 1033 | * @param string |
| 1034 | + * @param string $name |
|
| 1034 | 1035 | */ |
| 1035 | 1036 | public function setName($name) |
| 1036 | 1037 | { |
@@ -1265,8 +1266,6 @@ discard block |
||
| 1265 | 1266 | * This method is a wrapper for the setlocale() function that automatically |
| 1266 | 1267 | * resets the locale to its original value after the test is run. |
| 1267 | 1268 | * |
| 1268 | - * @param int $category |
|
| 1269 | - * @param string $locale |
|
| 1270 | 1269 | * |
| 1271 | 1270 | * @throws PHPUnit_Framework_Exception |
| 1272 | 1271 | * |
@@ -1783,7 +1782,7 @@ discard block |
||
| 1783 | 1782 | } |
| 1784 | 1783 | |
| 1785 | 1784 | /** |
| 1786 | - * @param Throwable|Exception $exception |
|
| 1785 | + * @param Exception $exception |
|
| 1787 | 1786 | * |
| 1788 | 1787 | * @return PHPUnit_Framework_MockObject_Stub_Exception |
| 1789 | 1788 | * |
@@ -1796,7 +1795,6 @@ discard block |
||
| 1796 | 1795 | } |
| 1797 | 1796 | |
| 1798 | 1797 | /** |
| 1799 | - * @param mixed $value, ... |
|
| 1800 | 1798 | * |
| 1801 | 1799 | * @return PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls |
| 1802 | 1800 | * |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | * @param bool $verbose |
| 118 | 118 | * @param string $colors |
| 119 | 119 | * @param bool $debug |
| 120 | - * @param int|string $numberOfColumns |
|
| 120 | + * @param integer $numberOfColumns |
|
| 121 | 121 | * @param bool $reverse |
| 122 | 122 | * |
| 123 | 123 | * @throws PHPUnit_Framework_Exception |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | * not a string as it currently does. To load a file into a |
| 30 | 30 | * DOMDocument, use loadFile() instead. |
| 31 | 31 | * |
| 32 | - * @param string|DOMDocument $actual |
|
| 32 | + * @param string $actual |
|
| 33 | 33 | * @param bool $isHtml |
| 34 | 34 | * @param string $filename |
| 35 | 35 | * @param bool $xinclude |
@@ -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; |
@@ -1101,7 +1101,7 @@ |
||
| 1101 | 1101 | |
| 1102 | 1102 | /** |
| 1103 | 1103 | * Returns MySQL column types (inherited and MySQL specified). |
| 1104 | - * @return array |
|
| 1104 | + * @return string[] |
|
| 1105 | 1105 | */ |
| 1106 | 1106 | public function getColumnTypes() |
| 1107 | 1107 | { |
@@ -517,7 +517,7 @@ discard block |
||
| 517 | 517 | * |
| 518 | 518 | * @param string $input User input string |
| 519 | 519 | * |
| 520 | - * @return mixed Who knows? |
|
| 520 | + * @return integer Who knows? |
|
| 521 | 521 | */ |
| 522 | 522 | protected function runCommand($input) |
| 523 | 523 | { |
@@ -654,7 +654,6 @@ discard block |
||
| 654 | 654 | * Stores $e as the last Exception in the Shell Context. |
| 655 | 655 | * |
| 656 | 656 | * @param \Exception $e An exception instance |
| 657 | - * @param OutputInterface $output An OutputInterface instance |
|
| 658 | 657 | */ |
| 659 | 658 | public function writeException(\Exception $e) |
| 660 | 659 | { |
@@ -756,7 +755,7 @@ discard block |
||
| 756 | 755 | * |
| 757 | 756 | * @param string $input |
| 758 | 757 | * |
| 759 | - * @return null|Command |
|
| 758 | + * @return BaseCommand|null |
|
| 760 | 759 | */ |
| 761 | 760 | protected function getCommand($input) |
| 762 | 761 | { |