Browse Source

Merge pull request #13775 from cakephp/bugfix/phpdoc

Fix inteliphense docblock error
Mark Sch 6 years ago
parent
commit
e311517427
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/View/Helper/FormHelper.php

+ 2 - 2
src/View/Helper/FormHelper.php

@@ -306,9 +306,9 @@ class FormHelper extends Helper
     /**
     /**
      * Set the widget registry the helper will use.
      * Set the widget registry the helper will use.
      *
      *
-     * @param \Cake\View\Widget\WidgetRegistry|null $instance The registry instance to set.
+     * @param \Cake\View\Widget\WidgetLocator|null $instance The registry instance to set.
      * @param array $widgets An array of widgets
      * @param array $widgets An array of widgets
-     * @return \Cake\View\Widget\WidgetRegistry
+     * @return \Cake\View\Widget\WidgetLocator
      * @deprecated 3.6.0 Use FormHelper::widgetLocator() instead.
      * @deprecated 3.6.0 Use FormHelper::widgetLocator() instead.
      */
      */
     public function widgetRegistry(WidgetRegistry $instance = null, $widgets = [])
     public function widgetRegistry(WidgetRegistry $instance = null, $widgets = [])