Sortable: Fix PHPDoc for parameter `$direction'
`$direction' must be a string instead of an integer because the direction constants `SORT_ASC' and `SORT_DESC' are strings.
This commit is contained in:
parent
068e07109b
commit
ecbd9b8616
|
@ -105,7 +105,7 @@ abstract class BaseQuery implements QueryInterface, Queryable
|
|||
* </code>
|
||||
*
|
||||
* @param string $field
|
||||
* @param int $direction
|
||||
* @param string $direction
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@ interface Sortable
|
|||
* </code>
|
||||
*
|
||||
* @param string $field
|
||||
* @param int $direction
|
||||
* @param string $direction
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue