Completed
Push — 5.6 ( 679697...f4d50c )
by Jeroen
16:35 queued 10:49
created
src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
      *
614 614
      * @param bool $niceNames
615 615
      *
616
-     * @return array
616
+     * @return string[]
617 617
      */
618 618
     private function getTypes($niceNames = false)
619 619
     {
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
     /**
642 642
      * Get all available media types.
643 643
      *
644
-     * @return array
644
+     * @return string[]
645 645
      */
646 646
     private function getMediaTypes()
647 647
     {
@@ -660,7 +660,7 @@  discard block
 block discarded – undo
660 660
      * Get all the entity fields for a specific type.
661 661
      *
662 662
      * @param      $objectName
663
-     * @param      $prefix
663
+     * @param      string $prefix
664 664
      * @param      $name
665 665
      * @param      $type
666 666
      * @param null $extra
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Generator/KunstmaanGenerator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      * @param string|null $extendClass
96 96
      * @param bool        $withRepository
97 97
      *
98
-     * @return array
98
+     * @return string[]
99 99
      *
100 100
      * @throws \RuntimeException
101 101
      */
@@ -186,9 +186,9 @@  discard block
 block discarded – undo
186 186
     /**
187 187
      * Generate the entity admin type.
188 188
      *
189
-     * @param        $bundle
190
-     * @param        $entityName
191
-     * @param        $entityPrefix
189
+     * @param        BundleInterface $bundle
190
+     * @param        string $entityName
191
+     * @param        string $entityPrefix
192 192
      * @param string $extendClass
193 193
      */
194 194
     protected function generateEntityAdminType(
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Helper/InputAssistant.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * Returns a list of namespaces as array with a forward slash to split the namespace & bundle.
141 141
      *
142
-     * @return array
142
+     * @return \Symfony\Component\Console\Question\iterable|null
143 143
      */
144 144
     private function getNamespaceAutoComplete(Kernel $kernel)
145 145
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      *
157 157
      * @param $namespace
158 158
      *
159
-     * @return mixed
159
+     * @return string
160 160
      */
161 161
     private function fixNamespace($namespace)
162 162
     {
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
@@ -271,6 +271,10 @@  discard block
 block discarded – undo
271 271
         return $response;
272 272
     }
273 273
 
274
+    /**
275
+     * @param string $code
276
+     * @param string $message
277
+     */
274 278
     private function returnJsonError($code, $message)
275 279
     {
276 280
         return new JsonResponse(
@@ -443,7 +447,7 @@  discard block
 block discarded – undo
443 447
     /**
444 448
      * @Route("move/", name="KunstmaanMediaBundle_media_move", methods={"POST"})
445 449
      *
446
-     * @return string
450
+     * @return JsonResponse
447 451
      */
448 452
     public function moveMedia(Request $request)
449 453
     {
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 = [])
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
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * @param int $folderId
122 122
      *
123
-     * @return object
123
+     * @return Folder
124 124
      *
125 125
      * @throws EntityNotFoundException
126 126
      */
@@ -158,6 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
     /**
160 160
      * {@inheritdoc}
161
+     * @param Folder $node
161 162
      */
162 163
     public function getPathQueryBuilder($node)
163 164
     {
@@ -327,7 +328,7 @@  discard block
 block discarded – undo
327 328
     }
328 329
 
329 330
     /**
330
-     * @param $parent
331
+     * @param Folder $parent
331 332
      */
332 333
     private function persistInOrderedTree(Folder $folder, $parent)
333 334
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MenuBundle/Controller/MenuAdminListController.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
      * @Route("/", name="kunstmaanmenubundle_admin_menu")
48 48
      *
49
-     * @return array
49
+     * @return \Symfony\Component\HttpFoundation\Response
50 50
      */
51 51
     public function indexAction(Request $request)
52 52
     {
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
@@ -744,7 +744,7 @@
 block discarded – undo
744 744
     /**
745 745
      * @Route("/reorder", name="KunstmaanNodeBundle_nodes_reorder", methods={"POST"})
746 746
      *
747
-     * @return string
747
+     * @return JsonResponse
748 748
      *
749 749
      * @throws AccessDeniedException
750 750
      */
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/EventListener/NodeTranslationListener.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
     /**
48 48
      * NodeTranslationListener constructor.
49 49
      *
50
-     * @param SessionInterface|FlashBagInterface $session
51 50
      */
52 51
     public function __construct(
53 52
         /* SessionInterface */ $flashBag,
Please login to merge, or discard this patch.