<commit_before><?php

namespace PSU\Config;

/**
 * 
 */
class Factory {
	static $instance = null;

	public function set_config( \PSU\Config $config ) {
		self::$instance = $config;
	}

	public function get_config() {
		if( null === self::$instance ) {
			self::$instance = new \PSU\Config;
			self::$instance->load();
		}

		return self::$instance;
	}
}//end class Factory<commit_msg>Mark factory methods as static<commit_after><?php

namespace PSU\Config;

/**
 * 
 */
class Factory {
	static $instance = null;

	public static function set_config( \PSU\Config $config ) {
		self::$instance = $config;
	}//end set_config

	public static function get_config() {
		if( null === self::$instance ) {
			self::$instance = new \PSU\Config;
			self::$instance->load();
		}

		return self::$instance;
	}//end get_config
}//end class Factory
{'fraction_non_alphanumeric': 0.16326530612244897, 'fraction_numerical': 0.0, 'mean_word_length': 3.711864406779661, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1431392', 'n_tokens_mistral': 291, 'n_tokens_neox': 278, 'n_words': 69}