Completed
Push — master ( 2e7bd3...0e8e48 )
by Laurent
19:12
created
src/AppBundle/Form/Type/ArticleReassignType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/AppBundle/Controller/ArticleController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         );
Please login to merge, or discard this patch.