Completed
Push — 5.0 ( cadd37...918ecf )
by Ruud
100:31 queued 89:28
created
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/Generator/SearchPageGenerator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Kunstmaan\GeneratorBundle\Generator;
4 4
 
5 5
 use Kunstmaan\GeneratorBundle\Helper\GeneratorUtils;
6
-
7 6
 use Symfony\Component\Console\Output\OutputInterface;
8 7
 use Symfony\Component\Filesystem\Filesystem;
9 8
 use Symfony\Component\HttpKernel\Bundle\Bundle;
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Helper/CommandAssistant.php 1 patch
Doc Comments   +26 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-     * @return Questionhelper
89
+     * @return QuestionHelper
90 90
      */
91 91
     private function getQuestionHelper()
92 92
     {
@@ -119,6 +119,9 @@  discard block
 block discarded – undo
119 119
         }
120 120
     }
121 121
 
122
+    /**
123
+     * @param \Closure $validator
124
+     */
122 125
     public function askAndValidate(
123 126
         $question,
124 127
         $validator,
@@ -139,6 +142,10 @@  discard block
 block discarded – undo
139 142
         );
140 143
     }
141 144
 
145
+    /**
146
+     * @param string $question
147
+     * @param string $defaultString
148
+     */
142 149
     public function askConfirmation(
143 150
         $question,
144 151
         $defaultString,
@@ -160,6 +167,10 @@  discard block
 block discarded – undo
160 167
         );
161 168
     }
162 169
 
170
+    /**
171
+     * @param string $question
172
+     * @param string $default
173
+     */
163 174
     public function ask($question, $default = null, array $autoComplete = null)
164 175
     {
165 176
         $askQuestion = new Question(
@@ -174,6 +185,9 @@  discard block
 block discarded – undo
174 185
         );
175 186
     }
176 187
 
188
+    /**
189
+     * @param string $question
190
+     */
177 191
     public function askSelect(
178 192
         $question,
179 193
         $choices,
@@ -212,6 +226,10 @@  discard block
 block discarded – undo
212 226
         }
213 227
     }
214 228
 
229
+    /**
230
+     * @param string $name
231
+     * @param null|string $value
232
+     */
215 233
     public function setOption($name, $value)
216 234
     {
217 235
         $this->input->setOption($name, $value);
@@ -222,6 +240,9 @@  discard block
 block discarded – undo
222 240
         return $this->input->hasOption($name);
223 241
     }
224 242
 
243
+    /**
244
+     * @param string $name
245
+     */
225 246
     public function getOption($name)
226 247
     {
227 248
         return $this->input->getOption($name);
@@ -232,6 +253,10 @@  discard block
 block discarded – undo
232 253
         return $this->input->isInteractive();
233 254
     }
234 255
 
256
+    /**
257
+     * @param string $option
258
+     * @param false $default
259
+     */
235 260
     public function getOptionOrDefault($option, $default = null)
236 261
     {
237 262
         return $this->input->hasOption($option) ? $this->input->getOption(
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.
Kunstmaan/LeadGenerationBundle/Controller/AbstractNewsletterController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         return $form;
72 72
     }
73 73
 
74
+    /**
75
+     * @return string
76
+     */
74 77
     protected function getSubscriptionFormType()
75 78
     {
76 79
         return NewsletterSubscriptionType::class;
Please login to merge, or discard this patch.
src/Kunstmaan/LeadGenerationBundle/Controller/PopupsAdminListController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @Route("/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_delete")
59 59
      * @Method({"GET", "POST"})
60 60
      *
61
-     * @return array
61
+     * @return \Symfony\Component\HttpFoundation\Response
62 62
      */
63 63
     public function deleteAction(Request $request, $id)
64 64
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @Route("/{id}/edit", requirements={"id" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_edit")
74 74
      * @Method({"GET", "POST"})
75 75
      *
76
-     * @return array
76
+     * @return \Symfony\Component\HttpFoundation\Response
77 77
      */
78 78
     public function editAction(Request $request, $id)
79 79
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * @Route("/add",  name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_add")
87 87
      * @Method({"GET", "POST"})
88 88
      *
89
-     * @return array
89
+     * @return \Symfony\Component\HttpFoundation\Response
90 90
      */
91 91
     public function addAction(Request $request)
92 92
     {
Please login to merge, or discard this patch.
src/Kunstmaan/LeadGenerationBundle/Controller/RulesAdminListController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @Route("/{popup}/add", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_add")
45 45
      * @Method({"GET", "POST"})
46 46
      *
47
-     * @return array
47
+     * @return \Symfony\Component\HttpFoundation\Response
48 48
      */
49 49
     public function addAction(Request $request, $popup)
50 50
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @Route("/{popup}/rules/{id}/edit", requirements={"popup" = "\d+", "rule" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_edit")
62 62
      * @Method({"GET", "POST"})
63 63
      *
64
-     * @return array
64
+     * @return \Symfony\Component\HttpFoundation\Response
65 65
      */
66 66
     public function editAction(Request $request, $id, $popup)
67 67
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * @Route("/{popup}/rules/{id}/delete", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_delete")
77 77
      * @Method({"GET", "POST"})
78 78
      *
79
-     * @return array
79
+     * @return \Symfony\Component\HttpFoundation\Response
80 80
      */
81 81
     public function deleteAction(Request $request, $id, $popup)
82 82
     {
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.