Skip to content

Commit 58a7ec8

Browse files
Narrow types
1 parent 62c440e commit 58a7ec8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Runner/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function __construct(Source $source)
7676
/**
7777
* @throws NoTestCaseObjectOnCallStackException
7878
*/
79-
public function __invoke(int $errorNumber, string $errorString, string $errorFile, int $errorLine): bool
79+
public function __invoke(int $errorNumber, string $errorString, string $errorFile, int $errorLine): false
8080
{
8181
$suppressed = (error_reporting() & ~self::INSUPPRESSIBLE_LEVELS) === 0;
8282

src/Runner/PHPT/PhptTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public function toString(): string
278278
return $this->filename;
279279
}
280280

281-
public function usesDataProvider(): bool
281+
public function usesDataProvider(): false
282282
{
283283
return false;
284284
}

0 commit comments

Comments
 (0)