@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | ->setAllowedTypes('loader_method', array('null', 'string')) |
55 | 55 | ->setDefaults(array( |
56 | 56 | 'choice_label' => function ($choice) { |
57 | - return (string)$choice; |
|
57 | + return (string) $choice; |
|
58 | 58 | }, |
59 | 59 | 'choice_value' => 'id', |
60 | 60 | 'choices' => $choices, |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | private function getLoader($alias) |
100 | 100 | { |
101 | - if(!$this->hasLoader($alias)){ |
|
101 | + if (!$this->hasLoader($alias)) { |
|
102 | 102 | throw new \RuntimeException(sprintf('Form loader with alias "%s" not found.', $alias)); |
103 | 103 | } |
104 | 104 |