From 84ad17c6f200ec808853e0f74bd5372804195072 Mon Sep 17 00:00:00 2001 From: Juzar Bharmal <53657281+Juzar10@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:54:14 +0530 Subject: [PATCH] fix: phpcs warning --- tests/phpunit/tests/query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/query.php b/tests/phpunit/tests/query.php index 99de2624d924c..6d6174ab96eb0 100644 --- a/tests/phpunit/tests/query.php +++ b/tests/phpunit/tests/query.php @@ -755,9 +755,9 @@ public function test_the_loop_when_querying_post_parents_only() { ) ); - $child = self::factory()->post->create( + $child = self::factory()->post->create( array( - 'post_type' => 'page', + 'post_type' => 'page', 'post_parent' => $parent, ) );