From 480d0f1e1b8448c5bb33d1f88dfbd32da9d28636 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 9 Jul 2022 15:46:04 -0700 Subject: [PATCH] PHPCS --- tests/inc/class-test-plugin.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/inc/class-test-plugin.php b/tests/inc/class-test-plugin.php index e86d09a..c92a1cc 100755 --- a/tests/inc/class-test-plugin.php +++ b/tests/inc/class-test-plugin.php @@ -399,7 +399,11 @@ class Test_Plugin extends WP_UnitTestCase { * @param array $args Method arguments. * @return mixed */ - protected function _invoke_method( $user_id, $method_name, $args = [] ) { + protected function _invoke_method( + $user_id, + $method_name, + $args = array() + ) { $object = new Plugin( $user_id ); $reflection = new ReflectionClass( $object ); $method = $reflection->getMethod( $method_name ); -- GitLab