[CodeFactor] Apply fixes to commit 148109d

[ci skip] [skip ci]
This commit is contained in:
codefactor-io 2020-05-07 12:38:30 +00:00
parent 148109d980
commit 0d9a1dd3a6
8 changed files with 31 additions and 33 deletions

View file

@ -2,7 +2,6 @@
namespace MainWP\Child;
class MainWP_Child_DB {
// phpcs:disable WordPress.DB.RestrictedFunctions, WordPress.DB.PreparedSQL.NotPrepared -- unprepared SQL ok, accessing the database directly to custom database functions.
// Support old & new versions of WordPress (3.9+).

View file

@ -112,7 +112,6 @@ if ( ! function_exists( 'mainwp_child_helper' ) ) {
* Get MainWP Child helper instance.
*
* @return mixed MainWP\Child\MainWP_Helper
*
*/
function mainwp_child_helper() {
return MainWP\Child\MainWP_Helper::instance();