From 62aec292d6383a6a9c4facaf5cd241ed3540329f Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Tue, 12 Jan 2021 15:15:25 +0000 Subject: [PATCH] [CodeFactor] Apply fixes to commit aa58eb9 [ci skip] [skip ci] --- class/class-mainwp-child-staging.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/class-mainwp-child-staging.php b/class/class-mainwp-child-staging.php index aa9f6b47..19bb6de3 100644 --- a/class/class-mainwp-child-staging.php +++ b/class/class-mainwp-child-staging.php @@ -178,7 +178,7 @@ public function action() { // phpcs:ignore -- ignore complex method notice. $this->plugin_version = '2.7'; \WPStaging\WPStaging::getInstance(); } - + $information = array(); if ( 'Y' !== get_option( 'mainwp_wp_staging_ext_enabled' ) ) { @@ -319,7 +319,7 @@ public function get_scan() { $return = array( 'options' => serialize( $options ), // phpcs:ignore -- to compatible http encoding. 'directoryListing' => $scan->directoryListing(), - 'prefix' => '2.8' == $this->plugin_version ? \WPStaging\Core\WPStaging::getTablePrefix() : \WPStaging\WPStaging::getTablePrefix(), + 'prefix' => '2.8' == $this->plugin_version ? \WPStaging\Core\WPStaging::getTablePrefix() : \WPStaging\WPStaging::getTablePrefix(), ); return $return; }