<commit_before><?php
namespace Phroute;

class HandlerResolver implements HandlerResolverInterface {
	
	/**
	 * Create an instance of the given handler.
	 *
	 * @param $handler
	 * @return array
	 */
	
	public function resolve ($handler)
	{
		if(is_array($handler) and is_string($handler[0]))
		{<commit_msg>Swich and for && operator<commit_after><?php
namespace Phroute;

class HandlerResolver implements HandlerResolverInterface {
	
	/**
	 * Create an instance of the given handler.
	 *
	 * @param $handler
	 * @return array
	 */
	
	public function resolve ($handler)
	{
		if(is_array($handler) && is_string($handler[0]))
		{
{'fraction_non_alphanumeric': 0.11802232854864433, 'fraction_numerical': 0.003189792663476874, 'mean_word_length': 4.190082644628099, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7035596', 'n_tokens_mistral': 202, 'n_tokens_neox': 177, 'n_words': 52}