mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10568 from creative-commoners/pulls/4/restore-err
MNT Use restore_error_handler()
This commit is contained in:
commit
00d1701d37
@ -43,7 +43,7 @@ class DeprecationTest extends SapphireTest
|
||||
protected function tearDown(): void
|
||||
{
|
||||
Deprecation::disable();
|
||||
set_error_handler($this->oldHandler);
|
||||
restore_error_handler();
|
||||
$this->oldHandler = null;
|
||||
parent::tearDown();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user