diff --git a/tests/codeception/tests/integration/AjaxHandlerTest.php b/tests/codeception/tests/integration/AjaxHandlerTest.php index ec8af8833c5f646fa13be01267b927446cdb1f5e..f89bc8b5f09304a8183e83e40288b8d7238a4218 100644 --- a/tests/codeception/tests/integration/AjaxHandlerTest.php +++ b/tests/codeception/tests/integration/AjaxHandlerTest.php @@ -12,13 +12,13 @@ class AjaxHandlerTest extends WPTestCase { const NOTICE_NAME = 'test_notice_name'; const WP_DEFAULT_PRIORITY = 10; - public function setUp() { + public function setUp(): void { parent::setUp(); add_filter( 'wp_doing_ajax', '__return_true' ); add_filter( 'wp_die_ajax_handler', array( $this, 'getDieHandler' ), 1, 1 ); } - public function tearDown() { + public function tearDown(): void { parent::tearDown(); } diff --git a/tests/codeception/tests/integration/FunctionsTest.php b/tests/codeception/tests/integration/FunctionsTest.php index 05117cb1a1dd30d263f0e2cb7c4edd8a7cc8968c..12012af8166acc7ac8a06c2103bfc7078acb45fe 100644 --- a/tests/codeception/tests/integration/FunctionsTest.php +++ b/tests/codeception/tests/integration/FunctionsTest.php @@ -11,11 +11,11 @@ use \WPDesk\Notice\PermanentDismissibleNotice; */ class FunctionsTest extends WPTestCase { - public function setUp() { + public function setUp():void { parent::setUp(); } - public function tearDown() { + public function tearDown():void { parent::tearDown(); } diff --git a/tests/codeception/tests/integration/NoticeTest.php b/tests/codeception/tests/integration/NoticeTest.php index feb1c1e7de7407750be54ba6bd3d6c33c3a058f1..89ebd70a6a26577e59224d40f838f8ee35d22bca 100644 --- a/tests/codeception/tests/integration/NoticeTest.php +++ b/tests/codeception/tests/integration/NoticeTest.php @@ -7,11 +7,11 @@ use \WPDesk\Notice\Notice; class NoticeTest extends WPTestCase { - public function setUp() { + public function setUp():void { parent::setUp(); } - public function tearDown() { + public function tearDown():void { parent::tearDown(); } diff --git a/tests/codeception/tests/integration/PermanentDismissinleNoticeTest.php b/tests/codeception/tests/integration/PermanentDismissinleNoticeTest.php index ec59a580fb96eed3994e1d115342cd966a24f37e..25d18fa85d5e6f06c6260091c3eb5e3fa3bc7d2b 100644 --- a/tests/codeception/tests/integration/PermanentDismissinleNoticeTest.php +++ b/tests/codeception/tests/integration/PermanentDismissinleNoticeTest.php @@ -9,11 +9,11 @@ class PermanentDismissinleNoticeTest extends WPTestCase { const NOTICE_NAME = 'test_notice_name'; - public function setUp() { + public function setUp():void { parent::setUp(); } - public function tearDown() { + public function tearDown():void { parent::tearDown(); }