Commit f74b0362 authored by Erick Hitter's avatar Erick Hitter

PHPCS

parent 592f0567
Pipeline #1428 passed with stage
in 3 minutes and 22 seconds
......@@ -24,11 +24,13 @@ trait Singleton {
* @return object
*/
public static function instance() {
// phpcs:disable WordPressVIPMinimum.Variables.VariableAnalysis.StaticOutsideClass
if ( ! isset( static::$instance ) ) {
static::$instance = new static();
static::$instance->setup();
}
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