Completed
Push — 5.0 ( b6eeb1...ccbe01 )
by Jeroen
24:36 queued 13:22
created
src/Kunstmaan/FixturesBundle/Builder/BuilderInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -7,11 +7,23 @@
 block discarded – undo
7 7
 
8 8
 interface BuilderInterface
9 9
 {
10
+    /**
11
+     * @return boolean
12
+     */
10 13
     public function canBuild(Fixture $fixture);
11 14
 
15
+    /**
16
+     * @return void
17
+     */
12 18
     public function preBuild(Fixture $fixture);
13 19
 
20
+    /**
21
+     * @return void
22
+     */
14 23
     public function postBuild(Fixture $fixture);
15 24
 
25
+    /**
26
+     * @return void
27
+     */
16 28
     public function postFlushBuild(Fixture $fixture);
17 29
 }
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Builder/BuildingSupervisor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @return mixed
80
+     * @return Fixture[]
81 81
      */
82 82
     public function getFixtures()
83 83
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Parser/Parser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         $this->specParsers = new ArrayCollection();
26 26
     }
27 27
 
28
+    /**
29
+     * @param ArrayCollection $providers
30
+     */
28 31
     public function parseFixture(Fixture $fixture, $providers, $fixtures = [])
29 32
     {
30 33
         $entities = [];
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Parser/Spec/Listed.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * Check if this parser is applicable
13 13
      *
14
-     * @return bool
14
+     * @return integer
15 15
      */
16 16
     public function canParse($value)
17 17
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/AdminList/FormPageAdminListConfigurator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      *
119 119
      * @param array $params
120 120
      *
121
-     * @return array
121
+     * @return string
122 122
      */
123 123
     public function getAddUrlFor(array $params = array())
124 124
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Entity/PageParts/AbstractFormPagePart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Get the label used for this page part
50 50
      *
51
-     * @return string
51
+     * @return integer
52 52
      */
53 53
     public function getLabel()
54 54
     {
Please login to merge, or discard this patch.
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.