From 4417991f1f0c51aa4a27256b65bdb035c8ca53e3 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sun, 27 Sep 2020 14:13:21 -0700
Subject: [PATCH] `void` return type didn't come until 7.1

---
 tests/test-post-filters.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/test-post-filters.php b/tests/test-post-filters.php
index 18ec666..d886d03 100755
--- a/tests/test-post-filters.php
+++ b/tests/test-post-filters.php
@@ -37,7 +37,7 @@ class PostFilters extends WP_UnitTestCase {
 	/**
 	 * Prepare data for tests.
 	 */
-	public function setUp(): void {
+	public function setUp() {
 		parent::setUp();
 
 		static::$post_id = $this->factory->post->create(
@@ -53,7 +53,7 @@ class PostFilters extends WP_UnitTestCase {
 	/**
 	 * Test retrieving page 1 content.
 	 */
-	public function test_view_page_1(): void {
+	public function test_view_page_1() {
 		query_posts(
 			array(
 				'p' => static::$post_id,
@@ -72,7 +72,7 @@ class PostFilters extends WP_UnitTestCase {
 	/**
 	 * Test retrieving page 2 content.
 	 */
-	public function test_view_page_2(): void {
+	public function test_view_page_2() {
 		query_posts(
 			array(
 				'p'    => static::$post_id,
@@ -92,7 +92,7 @@ class PostFilters extends WP_UnitTestCase {
 	/**
 	 * Test retrieving page 3 content.
 	 */
-	public function test_view_page_3(): void {
+	public function test_view_page_3() {
 		query_posts(
 			array(
 				'p'    => static::$post_id,
@@ -112,7 +112,7 @@ class PostFilters extends WP_UnitTestCase {
 	/**
 	 * Test retrieving "view all" contents.
 	 */
-	public function test_view_all(): void {
+	public function test_view_all() {
 		query_posts(
 			array(
 				'p'        => static::$post_id,
-- 
GitLab