Skip to content

Commit

Permalink
Fix psalm issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Jan 29, 2024
1 parent 4aa78ac commit 1c619d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DDLQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function createIndex(
string $indexType = null,
string $indexMethod = null
): string {
return 'CREATE ' . ($indexType !== null ? "$indexType " : '') . 'INDEX '
return 'CREATE ' . ($indexType !== null ? $indexType . ' ' : '') . 'INDEX '
. $this->quoter->quoteTableName($name)
. ($indexMethod !== null ? " USING $indexMethod" : '')
. ' ON ' . $this->quoter->quoteTableName($table)
Expand Down

0 comments on commit 1c619d5

Please sign in to comment.