function DrupalKernelTest::tearDown

Overrides KernelTestBase::tearDown

File

core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php, line 33

Class

DrupalKernelTest
Tests DIC compilation to disk.

Namespace

Drupal\KernelTests\Core\DrupalKernel

Code

protected function tearDown() : void {
  if (get_error_handler() === '_drupal_error_handler') {
    restore_error_handler();
  }
  parent::tearDown();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.