<commit_before><?php

namespace AppBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use AppBundle\Entity\Reservation;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;

class ReservationType extends AbstractType
{
    /**
     * @param FormBuilderInterface $builder
     * @param array $options
     */
    public function buildForm(FormBuilderInterface $builder, array $options)
    {

        $builder
            ->add('date')
            ->add('hour', ChoiceType::class, array('choices'  => array(
+                '9' => 9,
+                '10' => 10,
+                '11' => 11,
+                '12' => 12,
+                '13' => 13,
+                '14' => 14,
+                '15' => 15,
+                '16' => 16,
+                '17' => 17,
+                '18' => 18,
+                '19' => 19)))
            ->add('field')
            ->add('user');
    }
    
    /**
     * @param OptionsResolver $resolver
     */
    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'data_class' => 'AppBundle\Entity\Reservation'
        ));
    }
    


}<commit_msg>reservation only user<commit_after><?php

namespace AppBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use AppBundle\Entity\Reservation;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;

class ReservationType extends AbstractType
{
    /**
     * @param FormBuilderInterface $builder
     * @param array $options
     */
    public function buildForm(FormBuilderInterface $builder, array $options)
    {

        $builder
            ->add('date')
            ->add('hour', ChoiceType::class, array('choices'  => array(
+                '9' => 9,
+                '10' => 10,
+                '11' => 11,
+                '12' => 12,
+                '13' => 13,
+                '14' => 14,
+                '15' => 15,
+                '16' => 16,
+                '17' => 17,
+                '18' => 18,
+                '19' => 19)))
            ->add('field');

    }
    
    /**
     * @param OptionsResolver $resolver
     */
    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'data_class' => 'AppBundle\Entity\Reservation'
        ));
    }
    


}
{'fraction_non_alphanumeric': 0.13911060433295325, 'fraction_numerical': 0.03192702394526796, 'mean_word_length': 1.8671023965141613, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 38, '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': '7234360', 'n_tokens_mistral': 836, 'n_tokens_neox': 745, 'n_words': 143}