Completed
Pull Request — master (#28)
by Quentin
07:09
created
src/Majora/Framework/Loader/Bridge/Form/Type/EntityCollectionType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.