Skip to content

Commit

Permalink
use static()
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jul 14, 2022
1 parent f264777 commit a2b92ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
}
Expand Down

0 comments on commit a2b92ff

Please sign in to comment.