diff --git a/tests/inc/class-test-plugin.php b/tests/inc/class-test-plugin.php index e86d09adf4544c8c24e50a77c2f662a421ed888e..c92a1cccbbac4d894191ab844bc61eba16745497 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 );