Skip to content

Commit ba150ef

Browse files
committed
Fix deprecation warning regarding passing null to parameter of type int
1 parent bca0d88 commit ba150ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/Perf/TestSkippedException.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313

1414
class TestSkippedException extends \RuntimeException
1515
{
16+
/** @var Test */
1617
private $test;
1718

18-
public function __construct(Test $test, int $code = null, \Exception $previous = null)
19+
public function __construct(Test $test, int $code = 0, \Throwable $previous = null)
1920
{
2021
$message = sprintf('"%s" test is skipped', $test->getName());
2122

0 commit comments

Comments
 (0)