Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f68e0c2

Browse files
authored
PHPORM-295 VectorSearch path cannot be an array (#3263)
1 parent 08d54d8 commit f68e0c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/Eloquent/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function search(
112112
*/
113113
public function vectorSearch(
114114
string $index,
115-
array|string $path,
115+
string $path,
116116
array $queryVector,
117117
int $limit,
118118
bool $exact = false,

‎src/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ public function search(
16041604
*/
16051605
public function vectorSearch(
16061606
string $index,
1607-
array|string $path,
1607+
string $path,
16081608
array $queryVector,
16091609
int $limit,
16101610
bool $exact = false,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /