Completed
Push — 5.1 ( a63100...e86e6d )
by Kristof
65:44 queued 65:35
created
src/Kunstmaan/MediaBundle/Repository/FolderRepository.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     /**
131 131
      * @param int $folderId
132 132
      *
133
-     * @return object
133
+     * @return Folder
134 134
      *
135 135
      * @throws EntityNotFoundException
136 136
      */
@@ -168,6 +168,7 @@  discard block
 block discarded – undo
168 168
 
169 169
     /**
170 170
      * {@inheritdoc}
171
+     * @param Folder $node
171 172
      */
172 173
     public function getPathQueryBuilder($node)
173 174
     {
@@ -338,7 +339,7 @@  discard block
 block discarded – undo
338 339
 
339 340
     /**
340 341
      * @param Folder $folder
341
-     * @param        $parent
342
+     * @param        Folder $parent
342 343
      */
343 344
     private function persistInOrderedTree(Folder $folder, $parent)
344 345
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MenuBundle/Controller/MenuItemAdminListController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * @Route("/{menuid}/items/add", name="kunstmaanmenubundle_admin_menuitem_add")
105 105
      * @Method({"GET", "POST"})
106 106
      *
107
-     * @return array
107
+     * @return Response
108 108
      */
109 109
     public function addAction(Request $request, $menuid)
110 110
     {
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @Route("{menuid}/items/{id}/edit", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_edit")
120 120
      * @Method({"GET", "POST"})
121 121
      *
122
-     * @return array
122
+     * @return Response
123 123
      */
124 124
     public function editAction(Request $request, $menuid, $id)
125 125
     {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      * @Route("{menuid}/items/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_delete")
135 135
      * @Method({"GET", "POST"})
136 136
      *
137
-     * @return array
137
+     * @return Response
138 138
      */
139 139
     public function deleteAction(Request $request, $menuid, $id)
140 140
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Controller/NodeAdminController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -733,7 +733,7 @@
 block discarded – undo
733 733
      *
734 734
      * @param Request $request
735 735
      *
736
-     * @return string
736
+     * @return JsonResponse
737 737
      *
738 738
      * @throws AccessDeniedException
739 739
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use InvalidArgumentException;
9 9
 use Kunstmaan\AdminBundle\Entity\BaseUser;
10 10
 use Kunstmaan\AdminBundle\Entity\EntityInterface;
11
-use Kunstmaan\AdminBundle\Entity\User;
12 11
 use Kunstmaan\AdminBundle\FlashMessages\FlashTypes;
13 12
 use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget;
14 13
 use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\Tab;
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/Services/ACLPermissionCreatorService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @param object $object
49
+     * @param null|\Kunstmaan\NodeBundle\Entity\Node $object
50 50
      *
51 51
      * Create ACL permissions for an object
52 52
      */
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Router/SlugRouter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * The constructor for this service
64 64
      *
65
-     * @param ContainerInterface $container
66 65
      */
67 66
     public function __construct(
68 67
         /* DomainConfigurationInterface */ $domainConfiguration,
@@ -283,6 +282,7 @@  discard block
 block discarded – undo
283 282
     }
284 283
 
285 284
     /**
285
+     * @param string $host
286 286
      * @return bool
287 287
      */
288 288
     protected function isMultiLanguage($host = null)
Please login to merge, or discard this patch.
src/Kunstmaan/PagePartBundle/Entity/PagePartRef.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
     /**
170 170
      * Get pagePartId
171 171
      *
172
-     * @return int
172
+     * @return string
173 173
      */
174 174
     public function getPagePartId()
175 175
     {
Please login to merge, or discard this patch.
src/Kunstmaan/PagePartBundle/Helper/HasPagePartsInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 interface HasPagePartsInterface
11 11
 {
12
+    /**
13
+     * @return integer
14
+     */
12 15
     public function getId();
13 16
 
14 17
     /**
Please login to merge, or discard this patch.
src/Kunstmaan/PagePartBundle/Helper/Services/PagePartCreatorService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      *                                                A Node instance or the internal name.
74 74
      *                                                When the internal name is passed we'll get the node instance.
75 75
      *                                                Based on the language we'll locate the correct Page instance.
76
-     * @param pagePartInterface   $pagePart
76
+     * @param PagePartInterface   $pagePart
77 77
      *                                                A completely configured pagepart for this language
78 78
      * @param string              $language
79 79
      *                                                The languagecode. nl|fr|en|.. . Just one.
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      * @param string $pagePartClassName the full class name of the pagepart you want to instantiate
204 204
      * @param array  $setters           An array of setternames and their values. array('setName' => 'Kim', 'isDeveloper' => true)
205 205
      *
206
-     * @return callable the function that will instantiate a pagepart
206
+     * @return \Closure the function that will instantiate a pagepart
207 207
      */
208 208
     public function getCreatorArgumentsForPagePartAndProperties($pagePartClassName, array $setters = null)
209 209
     {
Please login to merge, or discard this patch.
src/Kunstmaan/PagePartBundle/Twig/Extension/PagePartAdminTwigExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     private $usesExtendedPagePartChooser = false;
13 13
 
14 14
     /**
15
-     * @return array
15
+     * @return \Twig_SimpleFunction[]
16 16
      */
17 17
     public function getFunctions()
18 18
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Get usesExtendedPagePartChooser.
63 63
      *
64
-     * @return usesExtendedPagePartChooser
64
+     * @return boolean
65 65
      */
66 66
     public function getUsesExtendedPagePartChooser()
67 67
     {
Please login to merge, or discard this patch.