Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 30ee79db

Přidáno uživatelem Jakub Vašta před asi 4 roky(ů)

fast linter fix

Zobrazit rozdíly:

website/src/Form/DataSetType.php
22 22
    }
23 23

  
24 24
    public function buildForm(FormBuilderInterface $builder, array $options) {
25
        
26
        $selectTypeData = $options['data']->getDate() == null ?
25
        $selectTypeData = null == $options['data']->getDate() ?
27 26
            Utils::prepareDatasetsNames($this->manager->getAvailableCollections()) :
28 27
            $this->manager->getAvailableCollectionsByDay($options['data']->getDate());
29
        
28

  
30 29
        $builder
31 30
            ->add('date', TextType::class)
32 31
            ->add('time', ChoiceType::class, [

Také k dispozici: Unified diff