| @@ -41,14 +41,14 @@ | ||
| 41 | 41 |      { | 
| 42 | 42 | $builder->addEventListener( | 
| 43 | 43 | FormEvents::PRE_SET_DATA, | 
| 44 | -            function (FormEvent $event) { | |
| 44 | +            function(FormEvent $event) { | |
| 45 | 45 | $form = $event->getForm(); | 
| 46 | 46 | $articles = $event->getData(); | 
| 47 | 47 | |
| 48 | 48 | $formOptions = array( | 
| 49 | 49 | 'class' => 'GlsrGestockBundle:Supplier', | 
| 50 | 50 | 'query_builder' => | 
| 51 | -                    function (EntityRepository $er) use ($articles) { | |
| 51 | +                    function(EntityRepository $er) use ($articles) { | |
| 52 | 52 | return $er->getSupplierForReassign($articles[0]); | 
| 53 | 53 | }, | 
| 54 | 54 | 'multiple' => false, | 
| @@ -180,7 +180,7 @@ discard block | ||
| 180 | 180 | new ArticleReassignType(), | 
| 181 | 181 | $articles, | 
| 182 | 182 | array( | 
| 183 | -                'action' => $this->generateUrl('articles_change',array('slug' => $supplier->getSlug())), | |
| 183 | +                'action' => $this->generateUrl('articles_change', array('slug' => $supplier->getSlug())), | |
| 184 | 184 | 'method' => 'PUT', | 
| 185 | 185 | ) | 
| 186 | 186 | ); | 
| @@ -211,7 +211,7 @@ discard block | ||
| 211 | 211 | new ArticleReassignType(), | 
| 212 | 212 | $articles, | 
| 213 | 213 | array( | 
| 214 | -                'action' => $this->generateUrl('articles_change',array('slug' => $supplier->getSlug())), | |
| 214 | +                'action' => $this->generateUrl('articles_change', array('slug' => $supplier->getSlug())), | |
| 215 | 215 | 'method' => 'PUT', | 
| 216 | 216 | ) | 
| 217 | 217 | ); |