@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * @param Closure $test |
| 43 | 43 | * @param string $suiteName |
| 44 | 44 | * @param string $successMessage |
| 45 | - * @param int|null $exceptionCode |
|
| 45 | + * @param integer $exceptionCode |
|
| 46 | 46 | * @param string $exceptionClass |
| 47 | 47 | * @return Suite |
| 48 | 48 | * @throws AssertionFailedException |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | * @param string $testName |
| 167 | 167 | * @param Closure $test |
| 168 | 168 | * @param string $successMessage |
| 169 | - * @param int|null $exceptionCode |
|
| 169 | + * @param integer $exceptionCode |
|
| 170 | 170 | * @param string $exceptionClass |
| 171 | 171 | * @return Suite |
| 172 | 172 | * @throws AssertionFailedException |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | * @param string $testName |
| 252 | 252 | * @param Closure $test |
| 253 | 253 | * @param string $successMessage |
| 254 | - * @param int|null $exceptionCode |
|
| 254 | + * @param integer $exceptionCode |
|
| 255 | 255 | * @param string $exceptionClass |
| 256 | 256 | * @throws AssertionFailedException |
| 257 | 257 | */ |
@@ -707,8 +707,8 @@ discard block |
||
| 707 | 707 | /** |
| 708 | 708 | * Log messages to resource |
| 709 | 709 | * |
| 710 | - * @param mixed $level The level of the log message |
|
| 711 | - * @param string|object $message If an object is passed it must implement __toString() |
|
| 710 | + * @param string $level The level of the log message |
|
| 711 | + * @param string $message If an object is passed it must implement __toString() |
|
| 712 | 712 | * @param array $context Placeholders to be substituted in the message |
| 713 | 713 | */ |
| 714 | 714 | public function log($level, $message, array $context=[]) |
@@ -784,7 +784,7 @@ discard block |
||
| 784 | 784 | } |
| 785 | 785 | |
| 786 | 786 | /** |
| 787 | - * @return mixed|resource |
|
| 787 | + * @return resource |
|
| 788 | 788 | * @throws \Exception |
| 789 | 789 | */ |
| 790 | 790 | protected function getResource() |
@@ -546,7 +546,7 @@ discard block |
||
| 546 | 546 | /** |
| 547 | 547 | * Assert that value is not equal to a provided value (using == ). |
| 548 | 548 | * |
| 549 | - * @param mixed $value2 |
|
| 549 | + * @param string $value2 |
|
| 550 | 550 | * @param string $message |
| 551 | 551 | * @param string $fieldName |
| 552 | 552 | * @return Assert |
@@ -1448,7 +1448,7 @@ discard block |
||
| 1448 | 1448 | /** |
| 1449 | 1449 | * Alias of {@see choice()} |
| 1450 | 1450 | * |
| 1451 | - * @param array $choices |
|
| 1451 | + * @param integer[] $choices |
|
| 1452 | 1452 | * @param string $message |
| 1453 | 1453 | * @param string $fieldName |
| 1454 | 1454 | * @return Assert |
@@ -1625,7 +1625,7 @@ discard block |
||
| 1625 | 1625 | /** |
| 1626 | 1626 | * Assert that key exists in the values array. |
| 1627 | 1627 | * |
| 1628 | - * @param string|integer $key |
|
| 1628 | + * @param string $key |
|
| 1629 | 1629 | * @param string $message |
| 1630 | 1630 | * @param string $fieldName |
| 1631 | 1631 | * @return Assert |
@@ -2743,7 +2743,6 @@ discard block |
||
| 2743 | 2743 | * Uses code from {@link https://github.com/ramsey/uuid} that is MIT licensed. |
| 2744 | 2744 | * |
| 2745 | 2745 | * @param string|null $message |
| 2746 | - * @param string|null $propertyPath |
|
| 2747 | 2746 | * @return Assert |
| 2748 | 2747 | * @throws AssertionFailedException |
| 2749 | 2748 | */ |
@@ -2798,7 +2797,7 @@ discard block |
||
| 2798 | 2797 | } |
| 2799 | 2798 | |
| 2800 | 2799 | /** |
| 2801 | - * @param $func |
|
| 2800 | + * @param string $func |
|
| 2802 | 2801 | * @param $args |
| 2803 | 2802 | * @return bool |
| 2804 | 2803 | * @throws AssertionFailedException |