Completed
Push — 5.6 ( 679697...f4d50c )
by Jeroen
16:35 queued 10:49
created
src/Kunstmaan/LeadGenerationBundle/Controller/RulesAdminListController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @Route("/{popup}/add", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_add", methods={"GET", "POST"})
44 44
      *
45
-     * @return array
45
+     * @return \Symfony\Component\HttpFoundation\Response
46 46
      */
47 47
     public function addAction(Request $request, $popup)
48 48
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @Route("/{popup}/rules/{id}/edit", requirements={"popup" = "\d+", "rule" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_edit", methods={"GET", "POST"})
60 60
      *
61
-     * @return array
61
+     * @return \Symfony\Component\HttpFoundation\Response
62 62
      */
63 63
     public function editAction(Request $request, $id, $popup)
64 64
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @Route("/{popup}/rules/{id}/delete", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_delete", methods={"GET", "POST"})
74 74
      *
75
-     * @return array
75
+     * @return \Symfony\Component\HttpFoundation\Response
76 76
      */
77 77
     public function deleteAction(Request $request, $id, $popup)
78 78
     {
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/ArticleBundle/Entity/AbstractAuthor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @param $link
54
+     * @param string $link
55 55
      */
56 56
     public function setLink($link)
57 57
     {
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Helper/CommandAssistant.php 1 patch
Doc Comments   +27 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,10 @@  discard block
 block discarded – undo
119 119
         }
120 120
     }
121 121
 
122
+    /**
123
+     * @param string $question
124
+     * @param \Closure $validator
125
+     */
122 126
     public function askAndValidate(
123 127
         $question,
124 128
         $validator,
@@ -139,6 +143,10 @@  discard block
 block discarded – undo
139 143
         );
140 144
     }
141 145
 
146
+    /**
147
+     * @param string $question
148
+     * @param string $defaultString
149
+     */
142 150
     public function askConfirmation(
143 151
         $question,
144 152
         $defaultString,
@@ -160,6 +168,10 @@  discard block
 block discarded – undo
160 168
         );
161 169
     }
162 170
 
171
+    /**
172
+     * @param string $question
173
+     * @param string $default
174
+     */
163 175
     public function ask($question, $default = null, array $autoComplete = null)
164 176
     {
165 177
         $askQuestion = new Question(
@@ -174,6 +186,9 @@  discard block
 block discarded – undo
174 186
         );
175 187
     }
176 188
 
189
+    /**
190
+     * @param string $question
191
+     */
177 192
     public function askSelect(
178 193
         $question,
179 194
         $choices,
@@ -212,6 +227,10 @@  discard block
 block discarded – undo
212 227
         }
213 228
     }
214 229
 
230
+    /**
231
+     * @param string $name
232
+     * @param null|string $value
233
+     */
215 234
     public function setOption($name, $value)
216 235
     {
217 236
         $this->input->setOption($name, $value);
@@ -222,6 +241,9 @@  discard block
 block discarded – undo
222 241
         return $this->input->hasOption($name);
223 242
     }
224 243
 
244
+    /**
245
+     * @param string $name
246
+     */
225 247
     public function getOption($name)
226 248
     {
227 249
         return $this->input->getOption($name);
@@ -232,6 +254,10 @@  discard block
 block discarded – undo
232 254
         return $this->input->isInteractive();
233 255
     }
234 256
 
257
+    /**
258
+     * @param string $option
259
+     * @param false $default
260
+     */
235 261
     public function getOptionOrDefault($option, $default = null)
236 262
     {
237 263
         return $this->input->hasOption($option) ? $this->input->getOption(
Please login to merge, or discard this patch.
Kunstmaan/GeneratorBundle/Generator/Symfony4EntityRepositoryGenerator.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 ';
27 27
 
28 28
     /**
29
-     * @param string $entityClassName
30
-     * @param string $repositoryClassName
29
+     * @param string $entityClass
30
+     * @param string $repositoryClass
31 31
      *
32 32
      * @return string
33 33
      */
@@ -44,8 +44,9 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param string $fullClassName
48 47
      * @param string $outputDirectory
48
+     * @param string $entityClass
49
+     * @param string $repositoryClass
49 50
      */
50 51
     public function writeEntityRepositoryClass($entityClass, $repositoryClass, $outputDirectory)
51 52
     {
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/KunstmaanArticleExtensionTest.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 KunstmaanArticleExtensionTest extends AbstractExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanArticleExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
Tests/unit/DependencyInjection/KunstmaanConfigExtensionTest.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 KunstmaanConfigExtensionTest extends AbstractExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanConfigExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
Tests/unit/DependencyInjection/KunstmaanDashboardExtensionTest.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 KunstmaanDashboardExtensionTest extends AbstractExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanDashboardExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.