Skip to content

Commit 2f60ed8

Browse files
committed
Fix validator check order
1 parent b7d24b5 commit 2f60ed8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Database/Validator/Index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@ public function isValid($value): bool
326326
return false;
327327
}
328328

329+
if (!$this->checkMultipleFulltextIndex($value)) {
330+
return false;
331+
}
332+
329333
if (!$this->checkFulltextIndexNonString($value)) {
330334
return false;
331335
}
@@ -346,10 +350,6 @@ public function isValid($value): bool
346350
return false;
347351
}
348352

349-
if (!$this->checkMultipleFulltextIndex($value)) {
350-
return false;
351-
}
352-
353353
if (!$this->checkIdenticalIndex($value)) {
354354
return false;
355355
}

0 commit comments

Comments
 (0)