mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7573 from dhensby/pulls/4.0/required-fields-docblock
DOCS Improve return tags for requiredfields class
This commit is contained in:
commit
7f27840926
@ -44,7 +44,7 @@ class RequiredFields extends Validator
|
||||
/**
|
||||
* Clears all the validation from this object.
|
||||
*
|
||||
* @return RequiredFields
|
||||
* @return $this
|
||||
*/
|
||||
public function removeValidation()
|
||||
{
|
||||
@ -56,6 +56,7 @@ class RequiredFields extends Validator
|
||||
|
||||
/**
|
||||
* Debug helper
|
||||
* @return string
|
||||
*/
|
||||
public function debug()
|
||||
{
|
||||
@ -152,7 +153,7 @@ class RequiredFields extends Validator
|
||||
*
|
||||
* @param string $field
|
||||
*
|
||||
* @return RequiredFields
|
||||
* @return $this
|
||||
*/
|
||||
public function addRequiredField($field)
|
||||
{
|
||||
@ -166,7 +167,7 @@ class RequiredFields extends Validator
|
||||
*
|
||||
* @param string $field
|
||||
*
|
||||
* @return RequiredFields
|
||||
* @return $this
|
||||
*/
|
||||
public function removeRequiredField($field)
|
||||
{
|
||||
@ -179,7 +180,7 @@ class RequiredFields extends Validator
|
||||
* Add {@link RequiredField} objects together
|
||||
*
|
||||
* @param RequiredFields $requiredFields
|
||||
* @return RequiredFields
|
||||
* @return $this
|
||||
*/
|
||||
public function appendRequiredFields($requiredFields)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user