Skip to content

Commit f8382c9

Browse files
staabmsebastianbergmann
authored andcommitted
reflect 1:1 the return type of the previous regression test
1 parent 225f4ea commit f8382c9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

tests/end-to-end/regression/5592/Issue5592Test.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,14 @@ public function testRemovedExceptionHandler(): void
6666
$this->assertTrue(false);
6767
}
6868

69-
public function addedAndRemovedErrorHandler($errno, $errstr, $errfile, $errline): void
69+
public function addedAndRemovedErrorHandler($errno, $errstr, $errfile, $errline): bool
7070
{
71+
return false;
7172
}
7273

73-
public function addedErrorHandler($errno, $errstr, $errfile, $errline): void
74+
public function addedErrorHandler($errno, $errstr, $errfile, $errline): bool
7475
{
76+
return false;
7577
}
7678

7779
public function addedAndRemovedExceptionHandler(Throwable $exception): void

tests/end-to-end/regression/5592/Issue5592TestIsolation.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ public function testRemovedExceptionHandler(): void
6565
$this->assertTrue(false);
6666
}
6767

68-
public function addedAndRemovedErrorHandler($errno, $errstr, $errfile, $errline): void
68+
public function addedAndRemovedErrorHandler($errno, $errstr, $errfile, $errline): bool
6969
{
70+
return false;
7071
}
7172

72-
public function addedErrorHandler($errno, $errstr, $errfile, $errline): void
73+
public function addedErrorHandler($errno, $errstr, $errfile, $errline): bool
7374
{
75+
return false;
7476
}
7577

7678
public function addedAndRemovedExceptionHandler(Throwable $exception): void

0 commit comments

Comments
 (0)