@@ -12,7 +12,7 @@ |
||
12 | 12 | public function load(ObjectManager $manager) |
13 | 13 | { |
14 | 14 | $faker = Factory::create(); |
15 | - for ($i=0; $i<25; $i++){ |
|
15 | + for ($i = 0; $i < 25; $i++) { |
|
16 | 16 | $trick = new Trick(); |
17 | 17 | $trick |
18 | 18 | ->setName($faker->words(3, true)) |
@@ -14,10 +14,10 @@ |
||
14 | 14 | public function buildForm(FormBuilderInterface $builder, array $options) |
15 | 15 | { |
16 | 16 | $builder |
17 | - ->add('name', TextType::class,[ |
|
17 | + ->add('name', TextType::class, [ |
|
18 | 18 | 'label' => 'Name of the trick, must be at least 5 characters' |
19 | 19 | ]) |
20 | - ->add('text', TextareaType::class ,[ |
|
20 | + ->add('text', TextareaType::class, [ |
|
21 | 21 | 'label' => 'Describe the trick', |
22 | 22 | 'attr' => [ |
23 | 23 | 'class'=>'materialize-textarea' |