@@ -11,6 +11,9 @@ |
||
| 11 | 11 | protected $_selector; |
| 12 | 12 | protected $_filters; |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param string $type |
|
| 16 | + */ |
|
| 14 | 17 | public function __construct($type, $selector, array $filters = []) |
| 15 | 18 | { |
| 16 | 19 | $this->_type = $type; |
@@ -128,8 +128,8 @@ discard block |
||
| 128 | 128 | * Implement PHPUnit\Framework\TestListener, save driver content if there was an error. |
| 129 | 129 | * |
| 130 | 130 | * @param Test $test |
| 131 | - * @param Exception $exception |
|
| 132 | - * @param int $time |
|
| 131 | + * @param Throwable $exception |
|
| 132 | + * @param double $time |
|
| 133 | 133 | */ |
| 134 | 134 | public function addError(Test $test, Throwable $exception, float $time): void |
| 135 | 135 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * |
| 148 | 148 | * @param Test $test |
| 149 | 149 | * @param \PHPUnit\Framework\AssertionFailedError $failure |
| 150 | - * @param int $time |
|
| 150 | + * @param double $time |
|
| 151 | 151 | */ |
| 152 | 152 | public function addFailure(Test $test, AssertionFailedError $failure, float $time): void |
| 153 | 153 | { |
@@ -11,6 +11,9 @@ |
||
| 11 | 11 | protected $_selector; |
| 12 | 12 | protected $_filters; |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param string $type |
|
| 16 | + */ |
|
| 14 | 17 | public function __construct($type, $selector, array $filters = []) |
| 15 | 18 | { |
| 16 | 19 | $this->_type = $type; |