@@ -202,8 +202,8 @@ |
||
202 | 202 | ->arrayNode('form') |
203 | 203 | ->addDefaultsIfNotSet() |
204 | 204 | ->children() |
205 | - ->scalarNode('default')->defaultValue(ShippingCategoryType::class)->cannotBeEmpty()->end() |
|
206 | - ->scalarNode('choice')->defaultValue(ResourceChoiceType::class)->cannotBeEmpty()->end() |
|
205 | + ->scalarNode('default')->defaultValue(ShippingCategoryType::class)->cannotBeEmpty()->end() |
|
206 | + ->scalarNode('choice')->defaultValue(ResourceChoiceType::class)->cannotBeEmpty()->end() |
|
207 | 207 | ->end() |
208 | 208 | ->end() |
209 | 209 | ->end() |
@@ -47,7 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $event->getData()->willReturn('badObject'); |
49 | 49 | $this->shouldThrow(new UnexpectedTypeException('badObject', ArchetypeInterface::class)) |
50 | - ->during('preSetData', [$event]) |
|
50 | + ->during('preSetData', [$event]) |
|
51 | 51 | ; |
52 | 52 | } |
53 | 53 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | 'label' => false, |
49 | 49 | 'button_add_label' => 'sylius.form.menu.add_menu_node', |
50 | 50 | 'cascade_validation' => true, |
51 | - ]) |
|
51 | + ]) |
|
52 | 52 | ->add('uri', null, [ |
53 | 53 | 'required' => false, |
54 | 54 | 'label' => 'sylius.form.menu.uri', |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | 'by_reference' => false, |
54 | 54 | 'label' => 'sylius.form.static_content.routes', |
55 | 55 | 'cascade_validation' => true, |
56 | - ]) |
|
56 | + ]) |
|
57 | 57 | ->add('menuNodes', 'collection', [ |
58 | 58 | 'type' => 'sylius_menu_node', |
59 | 59 | 'allow_add' => true, |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | 'by_reference' => false, |
62 | 62 | 'label' => 'sylius.form.static_content.menu_nodes', |
63 | 63 | 'cascade_validation' => true, |
64 | - ]) |
|
64 | + ]) |
|
65 | 65 | ->add('body', 'textarea', [ |
66 | 66 | 'required' => false, |
67 | 67 | 'label' => 'sylius.form.static_content.body', |
@@ -65,7 +65,7 @@ |
||
65 | 65 | $objects = $this->loadFixturesFromFile('books.yml'); |
66 | 66 | |
67 | 67 | $data = |
68 | - <<<EOT |
|
68 | + <<<EOT |
|
69 | 69 | { |
70 | 70 | "title": "Star Wars: Dark Disciple" |
71 | 71 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | 'form' => [ |
49 | 49 | 'default' => BookTranslationType::class, |
50 | 50 | ], |
51 | - ], |
|
51 | + ], |
|
52 | 52 | ], |
53 | 53 | ], |
54 | 54 | ], |
@@ -200,7 +200,7 @@ |
||
200 | 200 | */ |
201 | 201 | public function iChangeExchangeRateTo($exchangeRate) |
202 | 202 | { |
203 | - $this->updatePage->changeExchangeRate($exchangeRate); |
|
203 | + $this->updatePage->changeExchangeRate($exchangeRate); |
|
204 | 204 | } |
205 | 205 | |
206 | 206 | /** |
@@ -37,7 +37,7 @@ |
||
37 | 37 | public function getFunctions() |
38 | 38 | { |
39 | 39 | return [ |
40 | - new \Twig_SimpleFunction('sylius_settings', [$this->helper, 'getSettings']), |
|
40 | + new \Twig_SimpleFunction('sylius_settings', [$this->helper, 'getSettings']), |
|
41 | 41 | ]; |
42 | 42 | } |
43 | 43 |
@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | protected function getCodeElement() |
44 | 44 | { |
45 | - return $this->getElement('code'); |
|
45 | + return $this->getElement('code'); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |