Add sort flag param comment to sortedBy function header. (#4075)

This commit is contained in:
NOYB 2020-04-28 23:33:06 -07:00 committed by GitHub
parent 4f82e4efa5
commit 25e46b988d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,7 @@ class ArrayField extends BaseField
* retrieve field validators for this field type
* @param string|array $fieldNames sort by fieldname
* @param bool $descending sort descending
* @param int $sort_flags sorting behavior
* @return array
*/
public function sortedBy($fieldNames, $descending = false, $sort_flags = SORT_NATURAL)