- Still WIP on Api's wrapper

This commit is contained in:
Dave Mc Nicoll committed 2023-10-27 18:33:48 -04:00
1 parent 1927b43999
commit 8e0dce3e71
6 files changed
+26 -6

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ class OrderBy extends Fragment {
return $this;
}
public function add(string $field, ? string $direction = null) : self
public function add(object|string $field, ? string $direction = null) : self
{
$this->validateFieldType($field);