Skip to content

Commit 29ba68c

Browse files
committed
changing $sql on orderColumn function to be a string|\Closure param
1 parent 53b3f85 commit 29ba68c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryDataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ public function orderColumns(array $columns, $sql, $bindings = [])
572572
* Override default column ordering.
573573
*
574574
* @param string $column
575-
* @param string $sql
575+
* @param string|\Closure $sql
576576
* @param array $bindings
577577
* @return $this
578578
* @internal string $1 Special variable that returns the requested order direction of the column.

0 commit comments

Comments
 (0)