From 84be2dd6bbdf65439f115ed0c108be8f871ad22e Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 20 Jul 2017 13:32:47 -0300 Subject: [PATCH] Fixed declaration of WC_Tests_CRUD_Data::onNotSuccessfulTest --- tests/unit-tests/crud/data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests/crud/data.php b/tests/unit-tests/crud/data.php index 9b38b26c63d..a3f9c425429 100644 --- a/tests/unit-tests/crud/data.php +++ b/tests/unit-tests/crud/data.php @@ -18,7 +18,7 @@ class WC_Tests_CRUD_Data extends WC_Unit_Test_Case { update_option( 'timezone_string', '' ); } - public function onNotSuccessfulTest( $e ) { + public function onNotSuccessfulTest( Throwable $e ) { // @codingStandardsIgnoreStart date_default_timezone_set( 'UTC' ); // @codingStandardsIgnoreEnd