Completed
Push — master ( bbb7c8...e31151 )
by mark
04:21 queued 11s
created
src/View/Helper/FormHelper.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
     /**
307 307
      * Set the widget registry the helper will use.
308 308
      *
309
-     * @param \Cake\View\Widget\WidgetLocator|null $instance The registry instance to set.
309
+     * @param null|WidgetRegistry $instance The registry instance to set.
310 310
      * @param array $widgets An array of widgets
311 311
      * @return \Cake\View\Widget\WidgetLocator
312 312
      * @deprecated 3.6.0 Use FormHelper::widgetLocator() instead.
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
      * - `valueSources` The sources that values should be read from. See FormHelper::setValueSources()
394 394
      * - `templateVars` Provide template variables for the formStart template.
395 395
      *
396
-     * @param mixed $context The context for which the form is being defined.
396
+     * @param false|null $context The context for which the form is being defined.
397 397
      *   Can be a ContextInterface instance, ORM entity, ORM resultset, or an
398 398
      *   array of meta data. You can use false or null to make a context-less form.
399 399
      * @param array $options An array of html attributes and options.
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
      *   or excluded as part of the unlockedFields.
725 725
      * @param string|array $field Reference to field to be secured. Can be dot
726 726
      *   separated string to indicate nesting or array of fieldname parts.
727
-     * @param mixed $value Field value, if value should not be tampered with.
727
+     * @param string $value Field value, if value should not be tampered with.
728 728
      * @return void
729 729
      */
730 730
     protected function _secure($lock, $field, $value = null)
@@ -1341,7 +1341,7 @@  discard block
 block discarded – undo
1341 1341
      *
1342 1342
      * @param string $fieldName The name of the field to parse options for.
1343 1343
      * @param array $options Options list.
1344
-     * @return array Options
1344
+     * @return string Options
1345 1345
      */
1346 1346
     protected function _parseOptions($fieldName, $options)
1347 1347
     {
Please login to merge, or discard this patch.