Skip to content

Commit

Permalink
fix: use global namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
darthf1 committed Feb 3, 2025
1 parent d2bfc0c commit b19506f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch/State/CollectionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function provide(Operation $operation, array $uriVariables = [], array $c
throw new Error(status: $response->getStatusCode(), detail: (string) $response->getBody(), title: $response->getReasonPhrase(), originalTrace: $e->getTrace());
}

if (class_exists(Elastic\Elasticsearch\Response\Elasticsearch::class) && $documents instanceof Elasticsearch) {
if (class_exists(\Elastic\Elasticsearch\Response\Elasticsearch::class) && $documents instanceof Elasticsearch) {
$documents = $documents->asArray();
}

Expand Down

0 comments on commit b19506f

Please sign in to comment.