<commit_before><?php
namespace Logger\Common;

use Exception;
use Psr\Log\LoggerInterface;

interface ExtendedLogger extends LoggerInterface {
	/**
	 * @param string $captions
	 * @return ExtendedLogger
	 */
	public function createSubLogger($captions);

	/**
	 * @param string $caption
	 * @param array $context
	 * @param callable $fn
	 * @return mixed
	 */
	public function context($caption, array $context = array(), $fn);
	
	/**
	 * @param callable $fn
	 * @param callable $callback
	 * @return mixed
	 * @throws Exception
	 */
	public function intercept($fn, $callback);
}
<commit_msg>- Fixed PHPDoc for ExtendedLogger::createSubLogger - Fixed PHPDoc for ExtendedLogger::context<commit_after><?php
namespace Logger\Common;

use Exception;
use Psr\Log\LoggerInterface;

interface ExtendedLogger extends LoggerInterface {
	/**
	 * @param string|string[] $captions
	 * @return ExtendedLogger
	 */
	public function createSubLogger($captions);

	/**
	 * @param string|string[] $caption
	 * @param array $context
	 * @param callable $fn
	 * @return mixed
	 */
	public function context($caption, array $context = array(), $fn);
	
	/**
	 * @param callable $fn
	 * @param callable $callback
	 * @return mixed
	 * @throws Exception
	 */
	public function intercept($fn, $callback);
}

{'fraction_non_alphanumeric': 0.1267605633802817, 'fraction_numerical': 0.0, 'mean_word_length': 4.241803278688525, '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': '2987627', 'n_tokens_mistral': 400, 'n_tokens_neox': 354, 'n_words': 110}