Completed
Pull Request — master (#374)
by Leny
06:07
created
Bundle/FormBundle/Form/Type/LinkType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
      *
106 106
      * @param                                    $linkType
107 107
      * @param                                    $locale
108
-     * @param FormBuilderInterface|FormInterface $form
108
+     * @param FormInterface $form
109 109
      * @param FormBuilderInterface               $builder
110 110
      */
111 111
     protected function manageLinkTypeRelatedFields($linkType, $locale, $form, FormBuilderInterface $builder)
Please login to merge, or discard this patch.
Bundle/ViewReferenceBundle/Helper/ViewReferenceHelper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @param [] $tree
62
+     * @param WebViewInterface[] $tree
63 63
      */
64 64
     public function buildViewReferenceRecursively($tree, EntityManager $entityManager)
65 65
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\EntityRepository;
7
-use Gedmo\Translatable\Entity\Repository\TranslationRepository;
8
-use Gedmo\Translatable\Entity\Translation;
9 7
 use Victoire\Bundle\BusinessPageBundle\Entity\BusinessPage;
10 8
 use Victoire\Bundle\CoreBundle\Entity\View;
11 9
 use Victoire\Bundle\CoreBundle\Entity\WebViewInterface;
Please login to merge, or discard this patch.
Bundle/CoreBundle/Entity/Link.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@
 block discarded – undo
378 378
     /**
379 379
      * Set viewReferencePage.
380 380
      *
381
-     * @param mixed $viewReferencePage
381
+     * @param \Victoire\Bundle\PageBundle\Entity\Page $viewReferencePage
382 382
      *
383 383
      * @return Link
384 384
      */
Please login to merge, or discard this patch.
Bundle/ViewReferenceBundle/Connector/ViewReferenceManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     /**
35 35
      * This method save a tree of viewReferences.
36 36
      *
37
-     * @param array  $viewReferences
37
+     * @param \Victoire\Bundle\CoreBundle\Entity\WebViewInterface[]  $viewReferences
38 38
      * @param string $parentId
39 39
      * @param string $parentLocale
40 40
      * @param bool   $reset
Please login to merge, or discard this patch.
Bundle/CoreBundle/Entity/View.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
609 609
     /**
610 610
      * Add widget.
611 611
      *
612
-     * @param Widget $widgetMap
612
+     * @param WidgetMap $widgetMap
613 613
      */
614 614
     public function addWidgetMap(WidgetMap $widgetMap)
615 615
     {
@@ -861,7 +861,7 @@  discard block
 block discarded – undo
861 861
     }
862 862
 
863 863
     /**
864
-     * @return ViewTranslation[]
864
+     * @return ArrayCollection
865 865
      */
866 866
     public function getTranslations()
867 867
     {
@@ -869,7 +869,7 @@  discard block
 block discarded – undo
869 869
     }
870 870
 
871 871
     /**
872
-     * @return ViewTranslation[]
872
+     * @return string
873 873
      */
874 874
     public function getTranslationClass()
875 875
     {
Please login to merge, or discard this patch.