Completed
Push — master ( c60a32...d8cf68 )
by Ben
02:28 queued 10s
created
src/Former/Form/Fields/Choice.php 1 patch
Doc Comments   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -188,6 +188,9 @@  discard block
 block discarded – undo
188 188
 		return $element;
189 189
 	}
190 190
 
191
+	/**
192
+	 * @param string $choiceType
193
+	 */
191 194
 	public function getCheckables($choiceType)
192 195
 	{
193 196
 		if (!(is_array($this->value) || $this->value instanceof \ArrayAccess)) {
@@ -292,7 +295,7 @@  discard block
 block discarded – undo
292 295
 	/**
293 296
 	 * Sets the element's type based on options
294 297
 	 *
295
-	 * @return this
298
+	 * @return Choice
296 299
 	 */
297 300
 	protected function setChoiceType()
298 301
 	{
@@ -309,7 +312,6 @@  discard block
 block discarded – undo
309 312
 	/**
310 313
 	 * Select a value in the field's children
311 314
 	 *
312
-	 * @param mixed   $value
313 315
 	 *
314 316
 	 * @return bool
315 317
 	 */
@@ -333,10 +335,6 @@  discard block
 block discarded – undo
333 335
 	/**
334 336
 	 * Set the choices
335 337
 	 *
336
-	 * @param  array   $_choices     The choices as an array
337
-	 * @param  mixed   $selected     Facultative selected entry
338
-	 * @param  boolean $valuesAsKeys Whether the array's values should be used as
339
-	 *                               the option's values instead of the array's keys
340 338
 	 */
341 339
 	public function addChoice($value, $key = null)
342 340
 	{
@@ -349,7 +347,6 @@  discard block
 block discarded – undo
349 347
 	 * Set the choices
350 348
 	 *
351 349
 	 * @param  array   $_choices     The choices as an array
352
-	 * @param  mixed   $selected     Facultative selected entry
353 350
 	 * @param  boolean $valuesAsKeys Whether the array's values should be used as
354 351
 	 *                               the option's values instead of the array's keys
355 352
 	 */
Please login to merge, or discard this patch.
src/Former/Traits/FormerObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
 	/**
182 182
 	 * Set the modifiers from initial method call
183 183
 	 *
184
-	 * @return $this
184
+	 * @return string
185 185
 	 */
186 186
 	public function getModifiers()
187 187
 	{
Please login to merge, or discard this patch.