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