| @@ -82,7 +82,7 @@ discard block | ||
| 82 | 82 | * Sets the fragment name this button is rendered into. | 
| 83 | 83 | * | 
| 84 | 84 | * @param string $fragment | 
| 85 | - * @return GridFieldAddNewInlineButton $this | |
| 85 | + * @return GridFieldAddClassesButton $this | |
| 86 | 86 | */ | 
| 87 | 87 | public function setFragment($fragment) | 
| 88 | 88 |      { | 
| @@ -127,7 +127,7 @@ discard block | ||
| 127 | 127 | * Gets the list of classes which can be created, with checks for permissions. | 
| 128 | 128 | * Will fallback to the default model class for the given DataGrid | 
| 129 | 129 | * | 
| 130 | - * @param DataGrid $grid | |
| 130 | + * @param GridField $grid | |
| 131 | 131 | * @return array | 
| 132 | 132 | */ | 
| 133 | 133 | public function getClassesCreate($grid) | 
| @@ -89,7 +89,7 @@ | ||
| 89 | 89 | * | 
| 90 | 90 | * @param Member $member | 
| 91 | 91 | * @param array $context Virtual parameter to allow context to be passed in to check | 
| 92 | - * @return bool | |
| 92 | + * @return boolean|string | |
| 93 | 93 | */ | 
| 94 | 94 | public function canCreate($member = null, $context = []) | 
| 95 | 95 |      { | 
| @@ -853,7 +853,7 @@ discard block | ||
| 853 | 853 | * Return the error message for this field. Either uses the custom | 
| 854 | 854 | * one (if provided) or the default SilverStripe message | 
| 855 | 855 | * | 
| 856 | - * @return Varchar | |
| 856 | + * @return DBField | |
| 857 | 857 | */ | 
| 858 | 858 | public function getErrorMessage() | 
| 859 | 859 |      { | 
| @@ -893,7 +893,7 @@ discard block | ||
| 893 | 893 | * | 
| 894 | 894 | * @param string $column name of column | 
| 895 | 895 | * @param array $fieldClasses List of allowed classnames if this formfield has a selectable class | 
| 896 | - * @return FormField | |
| 896 | + * @return DropdownField | |
| 897 | 897 | */ | 
| 898 | 898 | public function getInlineClassnameField($column, $fieldClasses) | 
| 899 | 899 |      { | 
| @@ -904,7 +904,7 @@ discard block | ||
| 904 | 904 | * Get the formfield to use when editing the title inline | 
| 905 | 905 | * | 
| 906 | 906 | * @param string $column | 
| 907 | - * @return FormField | |
| 907 | + * @return TextField | |
| 908 | 908 | */ | 
| 909 | 909 | public function getInlineTitleField($column) | 
| 910 | 910 |      { | 
| @@ -37,7 +37,6 @@ | ||
| 37 | 37 | use SilverStripe\UserForms\Model\Submission\SubmittedFormField; | 
| 38 | 38 | use SilverStripe\UserForms\Modifier\DisambiguationSegmentFieldModifier; | 
| 39 | 39 | use SilverStripe\UserForms\Modifier\UnderscoreSegmentFieldModifier; | 
| 40 | -use SilverStripe\UserForms\UserForm; | |
| 41 | 40 | use SilverStripe\Versioned\Versioned; | 
| 42 | 41 | use Symbiote\GridFieldExtensions\GridFieldAddNewInlineButton; | 
| 43 | 42 | use Symbiote\GridFieldExtensions\GridFieldEditableColumns; | 
| @@ -28,7 +28,7 @@ | ||
| 28 | 28 | private static $table_name = 'EditableCheckbox'; | 
| 29 | 29 | |
| 30 | 30 | /** | 
| 31 | - * @return FieldList | |
| 31 | + * @return \SilverStripe\Forms\FieldList | |
| 32 | 32 | */ | 
| 33 | 33 | public function getCMSFields() | 
| 34 | 34 |      { | 
| @@ -23,7 +23,7 @@ | ||
| 23 | 23 | private static $table_name = 'EditableCountryDropdownField'; | 
| 24 | 24 | |
| 25 | 25 | /** | 
| 26 | - * @return FieldList | |
| 26 | + * @return \SilverStripe\Forms\FieldList | |
| 27 | 27 | */ | 
| 28 | 28 | public function getCMSFields() | 
| 29 | 29 |      { | 
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | private static $table_name = 'EditableDropdown'; | 
| 32 | 32 | |
| 33 | 33 | /** | 
| 34 | - * @return FieldList | |
| 34 | + * @return \SilverStripe\Forms\FieldList | |
| 35 | 35 | */ | 
| 36 | 36 | public function getCMSFields() | 
| 37 | 37 |      { | 
| @@ -44,7 +44,7 @@ discard block | ||
| 44 | 44 | ]; | 
| 45 | 45 | |
| 46 | 46 | /** | 
| 47 | - * @return FieldList | |
| 47 | + * @return \SilverStripe\Forms\FieldList | |
| 48 | 48 | */ | 
| 49 | 49 | public function getCMSFields() | 
| 50 | 50 |      { | 
| @@ -79,7 +79,7 @@ discard block | ||
| 79 | 79 | } | 
| 80 | 80 | |
| 81 | 81 | /** | 
| 82 | - * @return ValidationResult | |
| 82 | + * @return \SilverStripe\ORM\ValidationResult | |
| 83 | 83 | */ | 
| 84 | 84 | public function validate() | 
| 85 | 85 |      { | 
| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | private static $table_name = 'EditableFormHeading'; | 
| 35 | 35 | |
| 36 | 36 | /** | 
| 37 | - * @return FieldList | |
| 37 | + * @return \SilverStripe\Forms\FieldList | |
| 38 | 38 | */ | 
| 39 | 39 | public function getCMSFields() | 
| 40 | 40 |      { | 
| @@ -28,7 +28,7 @@ discard block | ||
| 28 | 28 | private static $table_name = 'EditableFormStep'; | 
| 29 | 29 | |
| 30 | 30 | /** | 
| 31 | - * @return FieldList | |
| 31 | + * @return \SilverStripe\Forms\FieldList | |
| 32 | 32 | */ | 
| 33 | 33 | public function getCMSFields() | 
| 34 | 34 |      { | 
| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 | } | 
| 41 | 41 | |
| 42 | 42 | /** | 
| 43 | - * @return FormField | |
| 43 | + * @return UserFormsStepField | |
| 44 | 44 | */ | 
| 45 | 45 | public function getFormField() | 
| 46 | 46 |      { |