Skip to content

Commit 6e8d627

Browse files
minor symfony#54270 [ErrorHandler] Fix ErrorHandlerTest::tearDown() visibility (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [ErrorHandler] Fix `ErrorHandlerTest::tearDown()` visibility | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT The visibility defined in the parent class is `protected`. Commits ------- 3a91c5e [ErrorHandler] Fix `ErrorHandlerTest::tearDown()` visibility
2 parents c44cc73 + 3a91c5e commit 6e8d627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/ErrorHandler/Tests/ErrorHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232
class ErrorHandlerTest extends TestCase
3333
{
34-
public function tearDown(): void
34+
protected function tearDown(): void
3535
{
3636
$r = new \ReflectionProperty(ErrorHandler::class, 'exitCode');
3737
$r->setAccessible(true);

0 commit comments

Comments
 (0)