From f29fdab4261c62d3ba9844019143be9ae1005c86 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 23 Sep 2019 19:28:43 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issue in [46262]. See #47952. git-svn-id: https://develop.svn.wordpress.org/trunk@46266 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/factory/class-wp-unittest-factory-for-term.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php b/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php index 5e03f077b6..06340c852b 100644 --- a/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php +++ b/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php @@ -84,7 +84,7 @@ class WP_UnitTest_Factory_For_Term extends WP_UnitTest_Factory_For_Thing { * @return null|WP_Error|WP_Term WP_Term on success. WP_error if taxonomy does not exist. Null for miscellaneous failure. */ public function create_and_get( $args = array(), $generation_definitions = null ) { - $term_id = $this->create( $args, $generation_definitions ); + $term_id = $this->create( $args, $generation_definitions ); if ( is_wp_error( $term_id ) ) { return $term_id;