Merge pull request #8231 from open-sausages/pulls/4/field-labels-doc-fix

MINOR: DataObject->fieldLabels() will only return an array
This commit is contained in:
Robbie Averill 2018-07-04 10:56:19 +12:00 committed by GitHub
commit e4d1cf8818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3495,7 +3495,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
*
* @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields
*
* @return array|string Array of all element labels if no argument given, otherwise the label of the field
* @return array Array of all element labels
*/
public function fieldLabels($includerelations = true)
{