@@ -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 | } |
@@ -338,6 +338,11 @@ |
||
| 338 | 338 | return (string) $this->renderer->searchAndRenderBlock($view, 'label', $vars); |
| 339 | 339 | } |
| 340 | 340 | |
| 341 | + /** |
|
| 342 | + * @param string $name |
|
| 343 | + * |
|
| 344 | + * @return string|null |
|
| 345 | + */ |
|
| 341 | 346 | protected function getFormType($name) |
| 342 | 347 | { |
| 343 | 348 | if(method_exists('Symfony\Component\Form\AbstractType', 'getBlockPrefix')) { |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * @return array |
|
| 71 | + * @return \Symfony\Component\Form\FormTypeExtensionInterface[] |
|
| 72 | 72 | */ |
| 73 | 73 | protected function getTypeExtensions() |
| 74 | 74 | { |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @return array |
|
| 167 | + * @return \Symfony\Component\Form\FormTypeInterface[] |
|
| 168 | 168 | */ |
| 169 | 169 | protected function getTypes() |
| 170 | 170 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | /** |
| 180 | - * @return array |
|
| 180 | + * @return \Symfony\Component\Form\FormTypeGuesserInterface[] |
|
| 181 | 181 | */ |
| 182 | 182 | protected function getTypeGuessers() |
| 183 | 183 | { |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | /** |
| 194 | - * @return array |
|
| 194 | + * @return \Symfony\Component\Form\FormExtensionInterface[] |
|
| 195 | 195 | */ |
| 196 | 196 | protected function getExtensions() |
| 197 | 197 | { |