Completed
Pull Request — 5.6 (#2833)
by Oskar
28:44 queued 13:47
created
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.
NodeSearchBundle/EventListener/NodeIndexUpdateEventListenerInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -6,11 +6,23 @@
 block discarded – undo
6 6
 
7 7
 interface NodeIndexUpdateEventListenerInterface
8 8
 {
9
+    /**
10
+     * @return void
11
+     */
9 12
     public function onPostPublish(NodeEvent $event);
10 13
 
14
+    /**
15
+     * @return void
16
+     */
11 17
     public function onPostPersist(NodeEvent $event);
12 18
 
19
+    /**
20
+     * @return void
21
+     */
13 22
     public function onPostDelete(NodeEvent $event);
14 23
 
24
+    /**
25
+     * @return void
26
+     */
15 27
     public function onPostUnPublish(NodeEvent $event);
16 28
 }
Please login to merge, or discard this patch.
src/Kunstmaan/RedirectBundle/Router/RedirectRouter.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      *
51 51
      * @param string      $name          The name of the route
52 52
      * @param mixed       $parameters    An array of parameters
53
-     * @param bool|string $referenceType The type of reference to be generated (one of the constants)
53
+     * @param integer $referenceType The type of reference to be generated (one of the constants)
54 54
      *
55 55
      * @return string The generated URL
56 56
      *
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @return bool
131
+     * @return string|false
132 132
      */
133 133
     private function isWildcardRedirect(Redirect $redirect)
134 134
     {
@@ -141,6 +141,9 @@  discard block
 block discarded – undo
141 141
         return false;
142 142
     }
143 143
 
144
+    /**
145
+     * @param string $matchSegment
146
+     */
144 147
     private function isPathInfoWildcardMatch($matchSegment)
145 148
     {
146 149
         $path = $this->context->getPathInfo();
Please login to merge, or discard this patch.
src/Kunstmaan/SearchBundle/Provider/SearchProviderChainInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@
 block discarded – undo
8 8
      * Add a SearchProvider to the chain
9 9
      *
10 10
      * @param string $alias
11
+     * @return void
11 12
      */
12 13
     public function addProvider(SearchProviderInterface $provider, $alias);
13 14
 
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Tests/Helper/VersionCheck/VersionCheckTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return \PHPUnit\Framework\MockObject\MockObject|VersionChecker
45
+     * @return string
46 46
      */
47 47
     public function setUpVersionCheckerMock(?array $methods)
48 48
     {
Please login to merge, or discard this patch.