<commit_before><?php

namespace LAG\AdminBundle\Security\Voter;

use LAG\AdminBundle\Admin\Request\RequestHandler;
use Symfony\Component\Form\RequestHandlerInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Authorization\Voter\Voter;
use Symfony\Component\Security\Core\User\UserInterface;

class AdminVoter extends Voter
{
    /**
     * @var RequestHandler
     */
    private $requestHandler;
    
    /**
     * @var RequestStack
     */
    private $requestStack;
    
    /**
     * AdminVoter constructor.
     *
     * @param RequestHandlerInterface $requestHandler
     * @param RequestStack $requestStack
     */
    public function __construct(
        RequestHandlerInterface $requestHandler,
        RequestStack $requestStack
    ) {<commit_msg>fix wrong types in constructor<commit_after><?php

namespace LAG\AdminBundle\Security\Voter;

use LAG\AdminBundle\Admin\Request\RequestHandlerInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Authorization\Voter\Voter;
use Symfony\Component\Security\Core\User\UserInterface;

class AdminVoter extends Voter
{
    /**
     * @var RequestHandlerInterface
     */
    private $requestHandler;
    
    /**
     * @var RequestStack
     */
    private $requestStack;
    
    /**
     * AdminVoter constructor.
     *
     * @param RequestHandlerInterface $requestHandler
     * @param RequestStack $requestStack
     */
    public function __construct(
        RequestHandlerInterface $requestHandler,
        RequestStack $requestStack
    ) {
{'fraction_non_alphanumeric': 0.09075244112578977, 'fraction_numerical': 0.0, 'mean_word_length': 3.466666666666667, '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': '972501', 'n_tokens_mistral': 470, 'n_tokens_neox': 473, 'n_words': 86}