Skip to content
Snippets Groups Projects
Commit 480d0f1e authored by Erick Hitter's avatar Erick Hitter
Browse files

PHPCS

parent 50fb8acf
No related branches found
No related tags found
1 merge request!6Add tests
Pipeline #5049 failed with stages
in 2 minutes and 38 seconds
...@@ -399,7 +399,11 @@ class Test_Plugin extends WP_UnitTestCase { ...@@ -399,7 +399,11 @@ class Test_Plugin extends WP_UnitTestCase {
* @param array $args Method arguments. * @param array $args Method arguments.
* @return mixed * @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 ); $object = new Plugin( $user_id );
$reflection = new ReflectionClass( $object ); $reflection = new ReflectionClass( $object );
$method = $reflection->getMethod( $method_name ); $method = $reflection->getMethod( $method_name );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment