<commit_before><?php

namespace App\Presenters;


class SecuredBasePresenter extends BasePresenter
{

	/**
	 * {@inheritdoc}
	 */
	protected function startup()
	{
		parent::startup();
		if (!$this->user->isLoggedIn()) {
			$this->redirect('Sign:in', ['backlink' => $this->storeRequest()]);
		}
	}<commit_msg>Nette: changed SecuredBasePresenter to abstract class<commit_after><?php

namespace App\Presenters;


abstract class SecuredBasePresenter extends BasePresenter
{

	/**
	 * {@inheritdoc}
	 */
	protected function startup()
	{
		parent::startup();
		if (!$this->user->isLoggedIn()) {
			$this->redirect('Sign:in', ['backlink' => $this->storeRequest()]);
		}
	}
{'fraction_non_alphanumeric': 0.17894736842105263, 'fraction_numerical': 0.0, 'mean_word_length': 4.893805309734513, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '6715609', 'n_tokens_mistral': 233, 'n_tokens_neox': 217, 'n_words': 40}