From 7a5965f7289ad96ab020810ecae75cdc49e9a609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 6 Feb 2025 19:52:54 +0100 Subject: [PATCH] PHPORM-295 VectorSearch path cannot be an array --- src/Eloquent/Builder.php | 2 +- src/Query/Builder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Eloquent/Builder.php b/src/Eloquent/Builder.php index afe968e4b..eedbe8712 100644 --- a/src/Eloquent/Builder.php +++ b/src/Eloquent/Builder.php @@ -112,7 +112,7 @@ public function search( */ public function vectorSearch( string $index, - array|string $path, + string $path, array $queryVector, int $limit, bool $exact = false, diff --git a/src/Query/Builder.php b/src/Query/Builder.php index 4c7c8513f..f613b6467 100644 --- a/src/Query/Builder.php +++ b/src/Query/Builder.php @@ -1604,7 +1604,7 @@ public function search( */ public function vectorSearch( string $index, - array|string $path, + string $path, array $queryVector, int $limit, bool $exact = false,