Commit 004b241c authored by Andrey Postnikov's avatar Andrey Postnikov Committed by Jonathan Sacksick
Browse files

Issue #3306470 by andypost: [9.1] Declaring ::tearDown without a void return...

Issue #3306470 by andypost: [9.1] Declaring ::tearDown without a void return typehint is deprecated.
parent a5821296
Loading
Loading
Loading
Loading
+1 −1
Changes for tests/src/Functional/CommerceBrowserTestBase.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ abstract class CommerceBrowserTestBase extends BrowserTestBase {
  /**
   * {@inheritdoc}
   */
  protected function tearDown() {
  protected function tearDown(): void {
    parent::tearDown();
    $this->restoreErrorHandler();
  }
+1 −1
Changes for tests/src/Functional/UninstallTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class UninstallTest extends BrowserTestBase {
  /**
   * {@inheritdoc}
   */
  protected function tearDown() {
  protected function tearDown(): void {
    parent::tearDown();
    $this->restoreErrorHandler();
  }
+1 −1
Changes for tests/src/Kernel/CommerceKernelTestBase.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ abstract class CommerceKernelTestBase extends EntityKernelTestBase {
  /**
   * {@inheritdoc}
   */
  protected function tearDown() {
  protected function tearDown(): void {
    $this->restoreErrorHandler();
    parent::tearDown();
  }