Completed
Push — 5.1 ( a63100...e86e6d )
by Kristof
65:44 queued 65:35
created
src/Kunstmaan/FormBundle/Entity/PageParts/FileUploadPagePart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     /**
125 125
      * Returns the view used in the frontend
126 126
      *
127
-     * @return mixed
127
+     * @return string
128 128
      */
129 129
     public function getDefaultView()
130 130
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Entity/PageParts/SubmitButtonPagePart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * Get the label
41 41
      *
42
-     * @return string
42
+     * @return integer
43 43
      */
44 44
     public function getLabel()
45 45
     {
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.
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.
src/Kunstmaan/MediaBundle/Helper/MediaManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Returns handler with the highest priority to handle the Media item which can handle the item. If no handler is found, it returns FileHandler
50 50
      *
51
-     * @param Media|File $media
51
+     * @param Media $media
52 52
      *
53 53
      * @return AbstractMediaHandler
54 54
      */
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-     * @param mixed $data
132
+     * @param \stdClass $data
133 133
      *
134 134
      * @return Media
135 135
      */
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Helper/RemoteAudio/RemoteAudioHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     public function getSoundcloudApiKey()
64 64
     {
Please login to merge, or discard this patch.