From a2b92ffbd13eabdfaf2909a86917b963ef9faae5 Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Thu, 14 Jul 2022 13:18:05 +0300 Subject: [PATCH] use static() --- packages/style-engine/class-wp-style-engine-css-rules-store.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/style-engine/class-wp-style-engine-css-rules-store.php b/packages/style-engine/class-wp-style-engine-css-rules-store.php index 2d95fbaee161b2..bfc7fba9ecd71f 100644 --- a/packages/style-engine/class-wp-style-engine-css-rules-store.php +++ b/packages/style-engine/class-wp-style-engine-css-rules-store.php @@ -43,7 +43,7 @@ class WP_Style_Engine_CSS_Rules_Store { */ public static function get_store( $store_name = 'default' ) { if ( ! isset( static::$stores[ $store_name ] ) ) { - static::$stores[ $store_name ] = new WP_Style_Engine_CSS_Rules_Store( $store_name ); + static::$stores[ $store_name ] = new static( $store_name ); } return static::$stores[ $store_name ]; }