diff --git a/code/Extension/UserFormFieldEditorExtension.php b/code/Extension/UserFormFieldEditorExtension.php index ee08921a2..a1ede8358 100644 --- a/code/Extension/UserFormFieldEditorExtension.php +++ b/code/Extension/UserFormFieldEditorExtension.php @@ -28,7 +28,7 @@ use Symbiote\GridFieldExtensions\GridFieldOrderableRows; /** - * @method DataList|EditableFormField[] Fields() + * @method SilverStripe\ORM\HasManyList Fields() */ class UserFormFieldEditorExtension extends DataExtension { diff --git a/code/Extension/UserFormFileExtension.php b/code/Extension/UserFormFileExtension.php index d7fd48283..3e00d658c 100644 --- a/code/Extension/UserFormFileExtension.php +++ b/code/Extension/UserFormFileExtension.php @@ -14,7 +14,7 @@ /** * @property string $UserFormUpload - * @method File SubmittedFileField + * @method SubmittedFileField SubmittedFileField() */ class UserFormFileExtension extends DataExtension { diff --git a/code/Model/EditableCustomRule.php b/code/Model/EditableCustomRule.php index 272bd562d..66afe78b5 100644 --- a/code/Model/EditableCustomRule.php +++ b/code/Model/EditableCustomRule.php @@ -20,8 +20,8 @@ * @property string $Display * @property string $FieldValue * @property int $ParentID - * @method EditableFormField Parent() * @method EditableFormField ConditionField() + * @method EditableFormField Parent() */ class EditableCustomRule extends DataObject { diff --git a/code/Model/EditableFormField.php b/code/Model/EditableFormField.php index 4dc2f770a..9f0799a8a 100755 --- a/code/Model/EditableFormField.php +++ b/code/Model/EditableFormField.php @@ -57,9 +57,9 @@ * @property int $ShowInSummary * @property int $ShowOnLoad * @property int $Sort - * @method UserDefinedForm Parent() Parent page - * @method HasManyList|EditableCustomRule[] DisplayRules() List of EditableCustomRule objects * @mixin Versioned + * @method HasManyList DisplayRules() + * @method DataObject Parent() */ class EditableFormField extends DataObject { diff --git a/code/Model/EditableFormField/EditableFieldGroup.php b/code/Model/EditableFormField/EditableFieldGroup.php index 93d46c324..7f1012f2d 100644 --- a/code/Model/EditableFormField/EditableFieldGroup.php +++ b/code/Model/EditableFormField/EditableFieldGroup.php @@ -12,7 +12,7 @@ * Specifies that this ends a group of fields * * @property int $EditableFieldGroupEndID - * @method EditableFieldGroupEnd EditableFieldGroupEnd() + * @method EditableFieldGroupEnd End() */ class EditableFieldGroup extends EditableFormField { diff --git a/code/Model/EditableFormField/EditableFileField.php b/code/Model/EditableFormField/EditableFileField.php index 4d17949a5..536502af4 100755 --- a/code/Model/EditableFormField/EditableFileField.php +++ b/code/Model/EditableFormField/EditableFileField.php @@ -28,7 +28,7 @@ * @property int $FolderConfirmed * @property int $FolderID * @property float $MaxFileSizeMB - * @method Folder Folder + * @method Folder Folder() */ class EditableFileField extends EditableFormField { diff --git a/code/Model/EditableFormField/EditableMultipleOptionField.php b/code/Model/EditableFormField/EditableMultipleOptionField.php index e42464215..ab284820e 100644 --- a/code/Model/EditableFormField/EditableMultipleOptionField.php +++ b/code/Model/EditableFormField/EditableMultipleOptionField.php @@ -31,7 +31,7 @@ * @see EditableDropdownField * * @package userforms - * @method HasManyList|EditableOption[] Options() + * @method HasManyList Options() */ class EditableMultipleOptionField extends EditableFormField { diff --git a/code/Model/EditableFormField/EditableOption.php b/code/Model/EditableFormField/EditableOption.php index 3ad087a0e..944e3689c 100644 --- a/code/Model/EditableFormField/EditableOption.php +++ b/code/Model/EditableFormField/EditableOption.php @@ -16,8 +16,8 @@ * @property int $ParentID * @property int $Sort * @property string $Value - * @method EditableMultipleOptionField Parent() * @mixin Versioned + * @method EditableMultipleOptionField Parent() */ class EditableOption extends DataObject { diff --git a/code/Model/Recipient/EmailRecipient.php b/code/Model/Recipient/EmailRecipient.php index 26ff6fe8b..dbf39f5f3 100644 --- a/code/Model/Recipient/EmailRecipient.php +++ b/code/Model/Recipient/EmailRecipient.php @@ -62,7 +62,7 @@ * @property int $SendEmailFromFieldID * @property int $SendEmailSubjectFieldID * @property int $SendEmailToFieldID - * @method HasManyList|EmailRecipientCondition[] CustomRules() + * @method HasManyList CustomRules() * @method DataObject Form() * @method EditableFormField SendEmailFromField() * @method EditableFormField SendEmailSubjectField() diff --git a/code/Model/Submission/SubmittedForm.php b/code/Model/Submission/SubmittedForm.php index 32df390d6..df9b959f4 100755 --- a/code/Model/Submission/SubmittedForm.php +++ b/code/Model/Submission/SubmittedForm.php @@ -19,9 +19,9 @@ * @package userforms * @property int $SubmittedByID * @property int $ParentID - * @method Member SubmittedBy() * @method DataObject Parent() - * @method HasManyList|SubmittedFormField[] Values() + * @method Member SubmittedBy() + * @method HasManyList Values() */ class SubmittedForm extends DataObject { diff --git a/code/Model/Submission/SubmittedFormField.php b/code/Model/Submission/SubmittedFormField.php index cf7b7039e..7d68ac17f 100755 --- a/code/Model/Submission/SubmittedFormField.php +++ b/code/Model/Submission/SubmittedFormField.php @@ -13,6 +13,7 @@ * @package userforms * @property string $Name * @property string $Value + * @method SubmittedForm Parent() */ class SubmittedFormField extends DataObject { diff --git a/code/Model/UserDefinedForm.php b/code/Model/UserDefinedForm.php index 4a6279977..b95d8a43e 100755 --- a/code/Model/UserDefinedForm.php +++ b/code/Model/UserDefinedForm.php @@ -9,6 +9,8 @@ /** * @package userforms + * @method SilverStripe\ORM\HasManyList EmailRecipients() + * @method SilverStripe\ORM\HasManyList Submissions() */ class UserDefinedForm extends Page {