Commit f74b0362 authored by Erick Hitter's avatar Erick Hitter

PHPCS

parent 592f0567
Pipeline #1796 failed with stage
in 2 minutes and 53 seconds
...@@ -24,11 +24,13 @@ trait Singleton { ...@@ -24,11 +24,13 @@ trait Singleton {
* @return object * @return object
*/ */
public static function instance() { public static function instance() {
// phpcs:disable WordPressVIPMinimum.Variables.VariableAnalysis.StaticOutsideClass
if ( ! isset( static::$instance ) ) { if ( ! isset( static::$instance ) ) {
static::$instance = new static(); static::$instance = new static();
static::$instance->setup(); static::$instance->setup();
} }
return static::$instance; return static::$instance;
// phpcs:enable WordPressVIPMinimum.Variables.VariableAnalysis.StaticOutsideClass
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment