mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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…
x
Reference in New Issue
Block a user