MINOR: DataObject->fieldLabels() will only return an array

This commit is contained in:
Luke Edwards 2018-07-02 13:53:59 +12:00
parent 14784f06d8
commit 9ee84fd515

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 if no argument given, otherwise the label of the field
*/
public function fieldLabels($includerelations = true)
{