Merge pull request #7573 from dhensby/pulls/4.0/required-fields-docblock

DOCS Improve return tags for requiredfields class
This commit is contained in:
Damian Mooyman 2017-11-09 13:39:15 +13:00 committed by GitHub
commit 7f27840926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{