Completed
Pull Request — 5.2 (#2400)
by
unknown
13:25
created
src/Kunstmaan/TaggingBundle/Entity/TagManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-     * @param $id
77
+     * @param integer|null $id
78 78
      *
79 79
      * @return mixed|null
80 80
      *
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @param Taggable $item
114 114
      * @param $class
115
-     * @param $locale
115
+     * @param string $locale
116 116
      * @param int $nbOfItems
117 117
      *
118 118
      * @return array|null
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
@@ -274,6 +274,10 @@  discard block
 block discarded – undo
274 274
         return $response;
275 275
     }
276 276
 
277
+    /**
278
+     * @param string $code
279
+     * @param string $message
280
+     */
277 281
     private function returnJsonError($code, $message)
278 282
     {
279 283
         return new JsonResponse(
@@ -452,7 +456,7 @@  discard block
 block discarded – undo
452 456
      *
453 457
      * @Route("move/", name="KunstmaanMediaBundle_media_move", methods={"POST"})
454 458
      *
455
-     * @return string
459
+     * @return JsonResponse
456 460
      */
457 461
     public function moveMedia(Request $request)
458 462
     {
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
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      *
103 103
      * @Route("/{menuid}/items/add", name="kunstmaanmenubundle_admin_menuitem_add", methods={"GET", "POST"})
104 104
      *
105
-     * @return array
105
+     * @return Response
106 106
      */
107 107
     public function addAction(Request $request, $menuid)
108 108
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      *
117 117
      * @Route("{menuid}/items/{id}/edit", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_edit", methods={"GET", "POST"})
118 118
      *
119
-     * @return array
119
+     * @return Response
120 120
      */
121 121
     public function editAction(Request $request, $menuid, $id)
122 122
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      *
131 131
      * @Route("{menuid}/items/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_delete", methods={"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/TaggingBundle/Controller/TagAdminListController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * @Route("/add", name="kunstmaantaggingbundle_admin_tag_add", methods={"GET", "POST"})
42 42
      * @Template("KunstmaanAdminListBundle:Default:add.html.twig")
43 43
      *
44
-     * @return array
44
+     * @return \Symfony\Component\HttpFoundation\Response
45 45
      */
46 46
     public function addAction(Request $request)
47 47
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/CacheValidator.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Retrieve a Datetime of the oldest cache file made
50 50
      *
51
-     * @return DateTime mtime of oldest cache file
51
+     * @return null|\DateTime mtime of oldest cache file
52 52
      */
53 53
     public function getOldestCachefileDate()
54 54
     {
@@ -72,6 +72,9 @@  discard block
 block discarded – undo
72 72
         return null;
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $cacheDir
77
+     */
75 78
     public function setCacheDir($cacheDir)
76 79
     {
77 80
         $this->cacheDir = $cacheDir;
Please login to merge, or discard this patch.
MediaBundle/Tests/unit/DependencyInjection/KunstmaanMediaExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class KunstmaanMediaExtensionTest extends AbstractExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanMediaExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
Tests/unit/DependencyInjection/KunstmaanLeadGenerationExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class KunstmaanLeadGenerationExtensionTest extends AbstractExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanLeadGenerationExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
Tests/unit/DependencyInjection/KunstmaanMediaPagePartExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class KunstmaanMediaPagePartExtensionTest extends AbstractExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanMediaPagePartExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
Tests/unit/EventListener/Security/MaxNumberByIpEventListenerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 class MaxNumberByIpEventListenerTest extends TestCase
15 15
 {
16 16
     /**
17
-     * @param $returnNull
17
+     * @param boolean $returnNull
18 18
      * @param int $voteNumber
19 19
      *
20 20
      * @return \Kunstmaan\VotingBundle\Services\RepositoryResolver
Please login to merge, or discard this patch.