Browse Source

Fix Sort:: setAttributeOrders() phpdoc (#17663) [skip ci]

tags/2.0.30
Oleg 5 years ago committed by Alexander Makarov
parent
commit
561242be5e
  1. 2
      framework/data/Sort.php

2
framework/data/Sort.php

@ -336,7 +336,7 @@ class Sort extends BaseObject
/**
* Returns the sort direction of the specified attribute in the current request.
* @param string $attribute the attribute name
* @return bool|null Sort direction of the attribute. Can be either `SORT_ASC`
* @return int|null Sort direction of the attribute. Can be either `SORT_ASC`
* for ascending order or `SORT_DESC` for descending order. Null is returned
* if the attribute is invalid or does not need to be sorted.
*/

Loading…
Cancel
Save