Skip to content

Commit be078ab

Browse files
committed
Fix typing
1 parent c8642ba commit be078ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Base/RestAPI/Controllers/BaseController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected function defaultTaxonomyParamIsValid(WP_REST_Request $request, string
119119
return true;
120120
}
121121

122-
protected function getOrderClause(mixed $orderBy, mixed $order)
122+
protected function getOrderClause(string $orderBy, string $order): array
123123
{
124124
$orderArray = [];
125125
$orderByParts = explode(',', $orderBy);

0 commit comments

Comments
 (0)