Completed
Push — 5.1 ( a63100...e86e6d )
by Kristof
65:44 queued 65:35
created
src/Kunstmaan/GeneratorBundle/Generator/KunstmaanGenerator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * @param string|null     $extendClass
92 92
      * @param bool            $withRepository
93 93
      *
94
-     * @return array
94
+     * @return string[]
95 95
      *
96 96
      * @throws \RuntimeException
97 97
      */
@@ -176,9 +176,9 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * Generate the entity admin type.
178 178
      *
179
-     * @param        $bundle
180
-     * @param        $entityName
181
-     * @param        $entityPrefix
179
+     * @param        BundleInterface $bundle
180
+     * @param        string $entityName
181
+     * @param        string $entityPrefix
182 182
      * @param array  $fields
183 183
      * @param string $extendClass
184 184
      */
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Helper/GeneratorUtils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@
 block discarded – undo
115 115
         }
116 116
     }
117 117
 
118
+    /**
119
+     * @param string $pathInSkeleton
120
+     */
118 121
     public static function getFullSkeletonPath($pathInSkeleton)
119 122
     {
120 123
         $pathInSkeleton = trim($pathInSkeleton);
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Controller/MediaController.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -275,6 +275,10 @@  discard block
 block discarded – undo
275 275
         return $response;
276 276
     }
277 277
 
278
+    /**
279
+     * @param string $code
280
+     * @param string $message
281
+     */
278 282
     private function returnJsonError($code, $message)
279 283
     {
280 284
         return new JsonResponse(
@@ -457,7 +461,7 @@  discard block
 block discarded – undo
457 461
      * @Route("move/", name="KunstmaanMediaBundle_media_move")
458 462
      * @Method({"POST"})
459 463
      *
460
-     * @return string
464
+     * @return JsonResponse
461 465
      */
462 466
     public function moveMedia(Request $request)
463 467
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Helper/RemoteVideo/RemoteVideoHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
      * Constructor. Takes the configuration of the RemoveVideoHandler
30 30
      *
31 31
      * @param array $configuration
32
+     * @param integer $priority
32 33
      */
33 34
     public function __construct($priority, $configuration = array())
34 35
     {
Please login to merge, or discard this patch.
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 1 patch
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.
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.