Skip to content

Commit 1dbf4d8

Browse files
Narrow type
1 parent c233107 commit 1dbf4d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public function __invoke(int $errorNumber, string $errorString, string $errorFil
212212
return false;
213213
}
214214

215-
public function deprecationHandler(int $errorNumber, string $errorString, string $errorFile, int $errorLine): bool
215+
public function deprecationHandler(int $errorNumber, string $errorString, string $errorFile, int $errorLine): true
216216
{
217217
if ($this->testCaseContext !== null) {
218218
$this->testCaseContextDeprecations[$this->testCaseContext][] = [$errorNumber, $errorString, $errorFile, $errorLine];

0 commit comments

Comments
 (0)