Completed
Pull Request — master (#343)
by Leny
09:31
created
Bundle/CoreBundle/Handler/WidgetExceptionHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * Constructor.
23 23
      *
24
-     * @param SecurityContext $authorizationChecker
24
+     * @param AuthorizationChecker $authorizationChecker
25 25
      * @param TwigEngine      $twig
26 26
      * @param bool            $debug      The debug variable environment
27 27
      * @param TemplateMapper  $templating The victoire templating
Please login to merge, or discard this patch.
Bundle/MediaBundle/Form/FolderType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
                 'choices'   => ['media' => 'media', 'image' => 'image', 'slideshow' => 'slideshow', 'video' => 'video'],
43 43
                 ])
44 44
             ->add('parent', EntityType::class, ['class' => 'Victoire\Bundle\MediaBundle\Entity\Folder', 'required' => false,
45
-                'query_builder'                         => function (\Doctrine\ORM\EntityRepository $er) use ($folder, $type) {
45
+                'query_builder'                         => function(\Doctrine\ORM\EntityRepository $er) use ($folder, $type) {
46 46
                     $qb = $er->createQueryBuilder('folder');
47 47
 
48 48
                     if ($folder != null && $folder->getId() != null) {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Form/WidgetType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         //we use the PRE_SUBMIT event to set the mode option
67 67
         $builder->addEventListener(
68 68
             FormEvents::PRE_SUBMIT,
69
-            function (FormEvent $event) use ($options) {
69
+            function(FormEvent $event) use ($options) {
70 70
                 //we get the raw data for the widget form
71 71
                 $rawData = $event->getData();
72 72
 
Please login to merge, or discard this patch.