Completed
Push — master ( d48ef1...47bb75 )
by
unknown
166:45 queued 146:49
created
src/Kunstmaan/MediaBundle/Controller/FolderController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Kunstmaan\AdminBundle\FlashMessages\FlashTypes;
7 7
 use Kunstmaan\MediaBundle\AdminList\MediaAdminListConfigurator;
8 8
 use Kunstmaan\MediaBundle\Entity\Folder;
9
-use Kunstmaan\MediaBundle\Form\EmptyType;
10 9
 use Kunstmaan\MediaBundle\Form\FolderType;
11 10
 use Kunstmaan\MediaBundle\Helper\MediaManager;
12 11
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Helper/Media/AbstractMediaHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 namespace Kunstmaan\MediaBundle\Helper\Media;
5 5
 
6 6
 use Kunstmaan\MediaBundle\Entity\Media;
7
-use Symfony\Component\Form\AbstractType;
8 7
 
9 8
 abstract class AbstractMediaHandler
10 9
 {
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Helper/MediaManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Returns handler with the highest priority to handle the Media item which can handle the item. If no handler is found, it returns FileHandler
50 50
      *
51
-     * @param Media|File $media
51
+     * @param Media $media
52 52
      *
53 53
      * @return AbstractMediaHandler
54 54
      */
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-     * @param mixed $data
132
+     * @param \stdClass $data
133 133
      *
134 134
      * @return Media
135 135
      */
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Helper/RemoteAudio/RemoteAudioHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     public function getSoundcloudApiKey()
64 64
     {
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
@@ -28,6 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Constructor. Takes the configuration of the RemoveVideoHandler
30 30
      * @param array $configuration
31
+     * @param integer $priority
31 32
      */
32 33
     public function __construct($priority, $configuration = array())
33 34
     {
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
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * @param int $folderId
131 131
      *
132
-     * @return object
132
+     * @return Folder
133 133
      * @throws EntityNotFoundException
134 134
      */
135 135
     public function getFolder($folderId)
@@ -166,6 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
     /**
168 168
      * {@inheritdoc}
169
+     * @param Folder $node
169 170
      */
170 171
     public function getPathQueryBuilder($node)
171 172
     {
@@ -336,7 +337,7 @@  discard block
 block discarded – undo
336 337
 
337 338
     /**
338 339
      * @param Folder $folder
339
-     * @param        $parent
340
+     * @param        Folder $parent
340 341
      */
341 342
     private function persistInOrderedTree(Folder $folder, $parent)
342 343
     {
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
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @param Request $request
52 52
      *
53
-     * @return array
53
+     * @return \Symfony\Component\HttpFoundation\Response
54 54
      */
55 55
     public function indexAction(Request $request)
56 56
     {
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
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      *
101 101
      * @Route("/{menuid}/items/add", name="kunstmaanmenubundle_admin_menuitem_add")
102 102
      * @Method({"GET", "POST"})
103
-     * @return array
103
+     * @return Response
104 104
      */
105 105
     public function addAction(Request $request, $menuid)
106 106
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      * @Route("{menuid}/items/{id}/edit", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_edit")
116 116
      * @Method({"GET", "POST"})
117 117
      *
118
-     * @return array
118
+     * @return Response
119 119
      */
120 120
     public function editAction(Request $request, $menuid, $id)
121 121
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * @Route("{menuid}/items/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_delete")
131 131
      * @Method({"GET", "POST"})
132 132
      *
133
-     * @return array
133
+     * @return Response
134 134
      */
135 135
     public function deleteAction(Request $request, $menuid, $id)
136 136
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MenuBundle/Service/MenuService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Kunstmaan\AdminBundle\Helper\DomainConfigurationInterface;
7
-use Kunstmaan\MenuBundle\Entity\Menu;
8 7
 
9 8
 class MenuService
10 9
 {
Please login to merge, or discard this patch.