@@ -329,28 +329,28 @@ |
||
| 329 | 329 | |
| 330 | 330 | protected function getFormType($name) |
| 331 | 331 | { |
| 332 | - if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 333 | - return $this->formTypeMap[$name]; |
|
| 334 | - } |
|
| 332 | + if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 333 | + return $this->formTypeMap[$name]; |
|
| 334 | + } |
|
| 335 | 335 | |
| 336 | - return $name; |
|
| 336 | + return $name; |
|
| 337 | 337 | } |
| 338 | 338 | |
| 339 | 339 | protected function getCollectionTypeKey() |
| 340 | 340 | { |
| 341 | - if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 342 | - return 'entry_type'; |
|
| 343 | - } |
|
| 341 | + if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 342 | + return 'entry_type'; |
|
| 343 | + } |
|
| 344 | 344 | |
| 345 | - return 'type'; |
|
| 345 | + return 'type'; |
|
| 346 | 346 | } |
| 347 | 347 | |
| 348 | 348 | protected function getCollectionOptionsKey() |
| 349 | 349 | { |
| 350 | - if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 351 | - return 'entry_options'; |
|
| 352 | - } |
|
| 350 | + if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 351 | + return 'entry_options'; |
|
| 352 | + } |
|
| 353 | 353 | |
| 354 | - return 'options'; |
|
| 354 | + return 'options'; |
|
| 355 | 355 | } |
| 356 | 356 | } |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | |
| 330 | 330 | protected function getFormType($name) |
| 331 | 331 | { |
| 332 | - if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 332 | + if (method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 333 | 333 | return $this->formTypeMap[$name]; |
| 334 | 334 | } |
| 335 | 335 | |
@@ -338,7 +338,7 @@ discard block |
||
| 338 | 338 | |
| 339 | 339 | protected function getCollectionTypeKey() |
| 340 | 340 | { |
| 341 | - if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 341 | + if (method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 342 | 342 | return 'entry_type'; |
| 343 | 343 | } |
| 344 | 344 | |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | |
| 348 | 348 | protected function getCollectionOptionsKey() |
| 349 | 349 | { |
| 350 | - if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 350 | + if (method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
|
| 351 | 351 | return 'entry_options'; |
| 352 | 352 | } |
| 353 | 353 | |