<commit_before><?php

/**
 * Drago Extension
 * Package built on Nette Framework
 */

declare(strict_types=1);

namespace Drago\Application\UI;

use Nette\Application\UI\Control;
use Nette\Application\UI\Form;
use Nette\Bridges\ApplicationLatte\Template;
use Nette\InvalidStateException;
use Nette\Localization\Translator;


/**
 * Extra control.
 */
class ExtraControl extends Control
{
	public ?Translator $translator = null;


	public function setTranslator(Translator $translator): Translator
	{
		return $this->translator = $translator;
	}


	/**
	 * Check if there is a pair signal receiver and name.
	 */
	public function getSignal(): ?int
	{<commit_msg>Update ExtraControl.php<commit_after><?php

/**
 * Drago Extension
 * Package built on Nette Framework
 */

declare(strict_types=1);

namespace Drago\Application\UI;

use Nette\Application\UI\Control;
use Nette\Application\UI\Form;
use Nette\Bridges\ApplicationLatte\Template;
use Nette\InvalidStateException;
use Nette\Localization\Translator;


/**
 * Extra control.
 */
class ExtraControl extends Control
{
	public ?Translator $translator = null;
	public Template $template;


	public function setTranslator(Translator $translator): Translator
	{
		return $this->translator = $translator;
	}


	/**
	 * Check if there is a pair signal receiver and name.
	 */
	public function getSignal(): ?int
	{
{'fraction_non_alphanumeric': 0.10808823529411765, 'fraction_numerical': 0.0014705882352941176, 'mean_word_length': 4.555102040816327, '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': '239806', 'n_tokens_mistral': 442, 'n_tokens_neox': 419, 'n_words': 110}