@@ -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,11 @@ |
||
| 300 | 300 | return (string) $this->extension->renderer->searchAndRenderBlock($view, 'label', $vars); |
| 301 | 301 | } |
| 302 | 302 | |
| 303 | + /** |
|
| 304 | + * @param string $name |
|
| 305 | + * |
|
| 306 | + * @return string|null |
|
| 307 | + */ |
|
| 303 | 308 | protected function getFormType($name) |
| 304 | 309 | { |
| 305 | 310 | if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | public function buildItem(ItemInterface $item, array $options) |
| 28 | 28 | { |
| 29 | 29 | if ($options['navbar']) { |
| 30 | - $item->setChildrenAttribute('class', 'nav navbar-nav'.($options['navbar-right']?' navbar-right':'')); |
|
| 30 | + $item->setChildrenAttribute('class', 'nav navbar-nav'.($options['navbar-right'] ? ' navbar-right' : '')); |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | if ($options['pills']) { |