Completed
Pull Request — 5.2 (#2400)
by
unknown
13:25
created
src/Kunstmaan/TaggingBundle/Entity/LazyLoadingTaggableInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,5 +4,8 @@
 block discarded – undo
4 4
 
5 5
 interface LazyLoadingTaggableInterface extends Taggable
6 6
 {
7
+    /**
8
+     * @return void
9
+     */
7 10
     public function setTagLoader(\Closure $loader);
8 11
 }
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Entity/Tagging.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * Set resourceType
92 92
      *
93
-     * @param $resourceType
93
+     * @param string $resourceType
94 94
      */
95 95
     public function setResourceType($resourceType)
96 96
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     /**
111 111
      * Set resourceId
112 112
      *
113
-     * @param $resourceId
113
+     * @param integer $resourceId
114 114
      */
115 115
     public function setResourceId($resourceId)
116 116
     {
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Get createdAt
142 142
      *
143
-     * @return datetime
143
+     * @return \DateTime
144 144
      */
145 145
     public function getCreatedAt()
146 146
     {
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     /**
161 161
      * Get updatedAt
162 162
      *
163
-     * @return datetime
163
+     * @return \DateTime
164 164
      */
165 165
     public function getUpdatedAt()
166 166
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Toolbar/TranslatorDataCollector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     }
22 22
 
23 23
     /**
24
-     * @return array
24
+     * @return string[]
25 25
      */
26 26
     public function getAccessRoles()
27 27
     {
Please login to merge, or discard this patch.
TranslatorBundle/DependencyInjection/KunstmaanTranslatorExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
         $container->getDefinition('kunstmaan_translator.datacollector')->setDecoratedService('translator');
51 51
     }
52 52
 
53
+    /**
54
+     * @param ContainerBuilder $container
55
+     */
53 56
     public function setTranslationConfiguration($config, $container)
54 57
     {
55 58
         $container->setAlias('translator', 'kunstmaan_translator.service.translator.translator')->setPublic(true);
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/Translator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -139,6 +139,10 @@
 block discarded – undo
139 139
 
140 140
     /**
141 141
      * @deprecated This method is deprecated since KunstmaanTranslatorBundle version 5.1 and will be removed in KunstmaanTranslatorBundle version 6.0
142
+     * @param string $id
143
+     * @param string $domain
144
+     * @param string|null $locale
145
+     * @param string $trans
142 146
      */
143 147
     public function profileTranslation($id, $parameters, $domain, $locale, $trans)
144 148
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/NodeHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
     }
478 478
     
479 479
     /**
480
-     * @return mixed|null
480
+     * @return User|null
481 481
      */
482 482
     protected function getUser()
483 483
     {
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
     }
494 494
 
495 495
     /**
496
-     * @return mixed
496
+     * @return User
497 497
      */
498 498
     protected function getAdminUser()
499 499
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Utils/SymfonyVersion.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
     }
19 19
 
20 20
     /**
21
+     * @param integer $major
22
+     * @param integer $minor
23
+     * @param integer $patch
21 24
      * @return bool
22 25
      */
23 26
     public static function isKernelLessThan($major, $minor = null, $patch = null)
@@ -26,6 +29,7 @@  discard block
 block discarded – undo
26 29
     }
27 30
 
28 31
     /**
32
+     * @param string $operator
29 33
      * @return bool
30 34
      */
31 35
     private static function kernelVersionCompare($operator, $major, $minor = null, $patch = null)
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/EventListener/RenderContextListener.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
     protected $em;
23 23
 
24 24
     /**
25
-     * @param EngineInterface        $templating
26 25
      * @param EntityManagerInterface $em
27 26
      */
28 27
     public function __construct(/* EngineInterface|EntityManagerInterface */ $em, EntityManagerInterface $emOld = null)
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Command/CreatePdfPreviewCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param EntityManagerInterface|null $em
42
-     * @param PdfTransformer|null         $mediaManager
43 42
      */
44 43
     public function __construct(/* EntityManagerInterface */ $em = null, /* PdfTransformer */ $pdfTransformer = null, $webRoot = null, $enablePdfPreview = null)
45 44
     {
Please login to merge, or discard this patch.