Completed
Pull Request — 3.6 (#1940)
by Sander
12:35 queued 11s
created
src/Kunstmaan/GeneratorBundle/Command/GeneratePageCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
     /**
229 229
      * Get the generator.
230 230
      *
231
-     * @return PagePartGenerator
231
+     * @return PageGenerator
232 232
      */
233 233
     protected function createGenerator()
234 234
     {
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      * Get an array of fields that need to be added to the entity.
396 396
      *
397 397
      * @param BundleInterface $bundle
398
-     * @param array           $reservedFields
398
+     * @param string[]           $reservedFields
399 399
      *
400 400
      * @return array
401 401
      */
@@ -573,7 +573,7 @@  discard block
 block discarded – undo
573 573
      *
574 574
      * @param bool $niceNames
575 575
      *
576
-     * @return array
576
+     * @return string[]
577 577
      */
578 578
     private function getTypes($niceNames = false)
579 579
     {
@@ -601,7 +601,7 @@  discard block
 block discarded – undo
601 601
     /**
602 602
      * Get all available media types.
603 603
      *
604
-     * @return array
604
+     * @return string[]
605 605
      */
606 606
     private function getMediaTypes()
607 607
     {
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
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * @param string|null     $extendClass
92 92
      * @param bool            $withRepository
93 93
      *
94
-     * @return array
94
+     * @return string[]
95 95
      * @throws \RuntimeException
96 96
      */
97 97
     protected function generateEntity(
@@ -175,9 +175,9 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * Generate the entity admin type.
177 177
      *
178
-     * @param        $bundle
179
-     * @param        $entityName
180
-     * @param        $entityPrefix
178
+     * @param        BundleInterface $bundle
179
+     * @param        string $entityName
180
+     * @param        string $entityPrefix
181 181
      * @param array  $fields
182 182
      * @param string $extendClass
183 183
      */
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Helper/GeneratorUtils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -117,6 +117,9 @@
 block discarded – undo
117 117
     }
118 118
 
119 119
 
120
+    /**
121
+     * @param string $pathInSkeleton
122
+     */
120 123
     public static function getFullSkeletonPath($pathInSkeleton)
121 124
     {
122 125
         $pathInSkeleton = trim($pathInSkeleton);
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Tests/Generator/DefaultSiteGeneratorTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -25,6 +25,11 @@  discard block
 block discarded – undo
25 25
 
26 26
     }
27 27
 
28
+    /**
29
+     * @param string $path
30
+     *
31
+     * @return \Symfony\Component\HttpKernel\Bundle\BundleInterface
32
+     */
28 33
     protected function getBundle($path)
29 34
     {
30 35
         $bundle = $this->getMock('Symfony\Component\HttpKernel\Bundle\BundleInterface');
@@ -49,6 +54,9 @@  discard block
 block discarded – undo
49 54
         return $bundle;
50 55
     }
51 56
 
57
+    /**
58
+     * @return \Symfony\Bridge\Doctrine\RegistryInterface
59
+     */
52 60
     protected function getRegistry()
53 61
     {
54 62
         $registry = $this->getMock('Symfony\Bridge\Doctrine\RegistryInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/LeadGenerationBundle/Entity/Rule/AfterXScrollPercentRule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * @param int $percentage
36 36
      *
37
-     * @return AfterXScrollPercent
37
+     * @return AfterXScrollPercentRule
38 38
      */
39 39
     public function setPercentage($percentage)
40 40
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @return AfterXScrollPercentAdminType
73
+     * @return AfterXScrollPercentRuleAdminType
74 74
      */
75 75
     public function getAdminType()
76 76
     {
Please login to merge, or discard this patch.
src/Kunstmaan/LeadGenerationBundle/Entity/Rule/LocaleBlacklistRule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @param string $locale
32 32
      *
33
-     * @return LocaleWhitelistRule
33
+     * @return LocaleBlacklistRule
34 34
      */
35 35
     public function setLocale($locale)
36 36
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-     * @return LocaleBlackListAdminType
77
+     * @return string
78 78
      */
79 79
     public function getAdminType()
80 80
     {
Please login to merge, or discard this patch.
src/Kunstmaan/LeadGenerationBundle/Entity/Rule/LocaleWhitelistRule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-     * @return LocaleWhiteListAdminType
77
+     * @return string
78 78
      */
79 79
     public function getAdminType()
80 80
     {
Please login to merge, or discard this patch.
src/Kunstmaan/LeadGenerationBundle/Entity/Rule/UrlBlacklistRule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * @param string $urls
32 32
      *
33
-     * @return UrlWhitelistRule
33
+     * @return UrlBlacklistRule
34 34
      */
35 35
     public function setUrls($urls)
36 36
     {
Please login to merge, or discard this patch.