Skip to content

Commit 1adc170

Browse files
committed
Fix failing test
1 parent b66fe48 commit 1adc170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/AttributeResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ protected function prepareIndexes(array $indexes):array
434434
$props = $index;
435435
$indexType = null;
436436
}
437-
if (strtolower($indexType) === 'unique') {
437+
if (strtolower((string) $indexType) === 'unique') {
438438
$indexType = null;
439439
$unique = true;
440440
}

0 commit comments

Comments
 (0)