@@ -43,9 +43,9 @@ |
||
43 | 43 | public function getFunctions() |
44 | 44 | { |
45 | 45 | return [ |
46 | - new \Twig_SimpleFunction('sylius_cart_exists', [$this, 'hasCart']), |
|
47 | - new \Twig_SimpleFunction('sylius_cart_get', [$this, 'getCurrentCart']), |
|
48 | - new \Twig_SimpleFunction('sylius_cart_form', [$this, 'getItemFormView']), |
|
46 | + new \Twig_SimpleFunction('sylius_cart_exists', [$this, 'hasCart']), |
|
47 | + new \Twig_SimpleFunction('sylius_cart_get', [$this, 'getCurrentCart']), |
|
48 | + new \Twig_SimpleFunction('sylius_cart_form', [$this, 'getItemFormView']), |
|
49 | 49 | ]; |
50 | 50 | } |
51 | 51 |
@@ -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', |