Skip to content

Commit 84c6afb

Browse files
authored
fix: remove @internal annotation from orderColumn() method
The orderColumn() method in QueryDataTable is documented and intended for public use (as shown in package docs), but was incorrectly marked as @internal. This caused static analyzers like PHPStan to report false positives when calling the method in userland code. Removing the @internal annotation clarifies that orderColumn() is part of the public API.
1 parent f8354bb commit 84c6afb

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
@@ -625,7 +625,7 @@ public function orderColumns(array $columns, $sql, $bindings = []): static
625625
* @param array $bindings
626626
* @return $this
627627
*
628-
* @internal string $1 Special variable that returns the requested order direction of the column.
628+
* string $1 Special variable that returns the requested order direction of the column.
629629
*/
630630
public function orderColumn($column, $sql, $bindings = []): static
631631
{

0 commit comments

Comments
 (0)