Skip to content

Commit 8f2a70f

Browse files
committed
Add missing since tags
1 parent 889bab8 commit 8f2a70f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

wcfsetup/install/files/lib/system/form/builder/field/PasswordFormField.class.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,20 @@ class PasswordFormField extends AbstractFormField implements
4646
*/
4747
protected $templateName = 'shared_passwordFormField';
4848

49+
/**
50+
* @since 6.2
51+
*/
4952
protected bool $strengthMeter = true;
5053

5154
/**
5255
* @var IFormField[]
56+
* @since 6.2
5357
*/
5458
protected array $relatedFields = [];
5559

5660
/**
5761
* @var string[]
62+
* @since 6.2
5863
*/
5964
protected array $relatedFieldsId = [];
6065

@@ -110,6 +115,8 @@ public function validate()
110115
/**
111116
* Sets if the password strength meter should be used to provide feedback
112117
* to the user about the strength of their password.
118+
*
119+
* @since 6.2
113120
*/
114121
public function passwordStrengthMeter(bool $passwordStrengthMeter = true): self
115122
{
@@ -143,20 +150,27 @@ public function addMeterRelatedField(IFormField $input): self
143150
return $this;
144151
}
145152

153+
/**
154+
* @since 6.2
155+
*/
146156
public function addMeterRelatedFieldId(string $fieldId): self
147157
{
148158
$this->relatedFieldsId[] = $fieldId;
149159

150160
return $this;
151161
}
152162

163+
/**
164+
* @since 6.2
165+
*/
153166
public function getStrengthMeter(): bool
154167
{
155168
return $this->strengthMeter;
156169
}
157170

158171
/**
159172
* @return string[]
173+
* @since 6.2
160174
*/
161175
public function getRelatedFieldsIDs(): array
162176
{

0 commit comments

Comments
 (0)