Skip to content

Commit

Permalink
Merge pull request #9908 from sunnysideup/patch-15
Browse files Browse the repository at this point in the history
PATCH: fix param in docblock ... add \ to FormField::__construct
  • Loading branch information
emteknetnz authored Apr 6, 2021
2 parents 160ed6f + b75860b commit 7ec838f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/FormField.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public static function name_to_label($fieldName)
* Creates a new field.
*
* @param string $name The internal field name, passed to forms.
* @param null|string|SilverStripe\View\ViewableData $title The human-readable field label.
* @param null|string|\SilverStripe\View\ViewableData $title The human-readable field label.
* @param mixed $value The value of the field.
*/
public function __construct($name, $title = null, $value = null)
Expand Down

0 comments on commit 7ec838f

Please sign in to comment.