Completed
Pull Request — master (#48)
by Jan
03:27
created
src/Fixture/Factory/RouteExampleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $this->faker = \Faker\Factory::create();
41 41
         $this->optionsResolver =
42 42
             (new OptionsResolver())
43
-                ->setDefault('name', function (Options $options) {
43
+                ->setDefault('name', function(Options $options) {
44 44
                     return StringInflector::nameToCode($this->faker->words(3, true));
45 45
                 })
46 46
                 ->setAllowedTypes('name', 'string')
Please login to merge, or discard this patch.
src/Fixture/Factory/StaticContentExampleFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,22 +36,22 @@
 block discarded – undo
36 36
         $this->faker = \Faker\Factory::create();
37 37
         $this->optionsResolver =
38 38
             (new OptionsResolver())
39
-                ->setDefault('title', function (Options $options) {
39
+                ->setDefault('title', function(Options $options) {
40 40
                     return $this->faker->words(3, true);
41 41
                 })
42 42
                 ->setAllowedTypes('title', 'string')
43 43
 
44
-                ->setDefault('name', function (Options $options) {
44
+                ->setDefault('name', function(Options $options) {
45 45
                     return StringInflector::nameToCode($options['title']);
46 46
                 })
47 47
                 ->setAllowedTypes('name', 'string')
48 48
 
49
-                ->setDefault('body', function (Options $options) {
49
+                ->setDefault('body', function(Options $options) {
50 50
                     return $this->faker->paragraphs(4, true);
51 51
                 })
52 52
                 ->setAllowedTypes('body', 'string')
53 53
 
54
-                ->setDefault('publishable', function (Options $options) {
54
+                ->setDefault('publishable', function(Options $options) {
55 55
                     return $this->faker->boolean(90);
56 56
                 })
57 57
                 ->setAllowedTypes('publishable', 'bool')
Please login to merge, or discard this patch.
src/Form/Type/StaticContentType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
                 'allow_delete' => true,
40 40
                 'by_reference' => false,
41 41
                 'label' => 'lakion_cms.form.static_content.routes',
42
-             ])
42
+                ])
43 43
             ->add('body', TextareaType::class, [
44 44
                 'required' => false,
45 45
                 'label' => 'lakion_cms.form.static_content.body',
Please login to merge, or discard this patch.