@@ -302,10 +302,10 @@ |
||
| 302 | 302 | |
| 303 | 303 | protected function getFormType($name) |
| 304 | 304 | { |
| 305 | - if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 306 | - return $this->formTypeMap[$name]; |
|
| 307 | - } |
|
| 305 | + if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 306 | + return $this->formTypeMap[$name]; |
|
| 307 | + } |
|
| 308 | 308 | |
| 309 | - return $name; |
|
| 309 | + return $name; |
|
| 310 | 310 | } |
| 311 | 311 | } |
@@ -302,7 +302,7 @@ |
||
| 302 | 302 | |
| 303 | 303 | protected function getFormType($name) |
| 304 | 304 | { |
| 305 | - if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 305 | + if (method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 306 | 306 | return $this->formTypeMap[$name]; |
| 307 | 307 | } |
| 308 | 308 | |
@@ -300,6 +300,9 @@ |
||
| 300 | 300 | return (string) $this->extension->renderer->searchAndRenderBlock($view, 'label', $vars); |
| 301 | 301 | } |
| 302 | 302 | |
| 303 | + /** |
|
| 304 | + * @param string $name |
|
| 305 | + */ |
|
| 303 | 306 | protected function getFormType($name) |
| 304 | 307 | { |
| 305 | 308 | if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |