Skip to content

Commit c0aa29d

Browse files
committed
ai fixes
1 parent 488e993 commit c0aa29d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Query/ScoutBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ScoutBuilder implements QueryBuilder
2323
* underlying search operation.
2424
*
2525
* @param array $parameters An associative array of search criteria, which may include:
26-
* - 'text': The search query string.
26+
* - 'text': An array containing 'value' (search string) and optionally 'trashed' ('with'|'only').
2727
* - 'filters': An array of filter conditions.
2828
* - 'sorts': An array of sorting directives.
2929
* - 'instructions': Additional query instructions.

tests/Feature/Controllers/SearchScoutOperationsTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,7 @@ public function test_getting_a_list_of_resources_only_trashed(): void
444444
],
445445
['Accept' => 'application/json']
446446
);
447-
448-
// @TODO: test only correctly applyed
449-
447+
450448
$this->assertResourcePaginated(
451449
$response,
452450
[],

0 commit comments

Comments
 (0)