We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a197b5 commit 86c8f17Copy full SHA for 86c8f17
2 files changed
src/Database/Validator/Index.php
@@ -199,7 +199,7 @@ public function checkIndexLength(Document $index): bool
199
break;
200
}
201
if ($indexLength < 0) {
202
- $this->message = 'Negative index provided for '.$attributeName;
+ $this->message = 'Negative index length provided for ' . $attributeName;
203
return false;
204
205
tests/e2e/Adapter/Scopes/IndexTests.php
@@ -255,7 +255,7 @@ public function testIndexValidation(): void
255
]),
256
];
257
258
- $errorMessage = 'Negative index provided for title1';
+ $errorMessage = 'Negative index length provided for title1';
259
$this->assertFalse($validator->isValid($indexes[0]));
260
$this->assertEquals($errorMessage, $validator->getDescription());
261
0 commit comments