add missing space

This commit is contained in:
Jan Waś
2015-04-11 02:25:26 +02:00
parent 6e48ed05c7
commit edf400df96
3 changed files with 3 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ class QueryBuilder extends \yii\base\Object
return 'INSERT INTO ' . $schema->quoteTableName($table) return 'INSERT INTO ' . $schema->quoteTableName($table)
. (!empty($names) ? ' (' . implode(', ', $names) . ')' : '') . (!empty($names) ? ' (' . implode(', ', $names) . ')' : '')
. (!empty($placeholders) ? ' VALUES (' . implode(', ', $placeholders) . ')' : 'DEFAULT VALUES'); . (!empty($placeholders) ? ' VALUES (' . implode(', ', $placeholders) . ')' : ' DEFAULT VALUES');
} }
/** /**

View File

@@ -201,6 +201,6 @@ class QueryBuilder extends \yii\db\QueryBuilder
return 'INSERT INTO ' . $schema->quoteTableName($table) return 'INSERT INTO ' . $schema->quoteTableName($table)
. (!empty($names) ? ' (' . implode(', ', $names) . ')' : '') . (!empty($names) ? ' (' . implode(', ', $names) . ')' : '')
. (!empty($placeholders) ? ' VALUES (' . implode(', ', $placeholders) . ')' : 'DEFAULT VALUES'); . (!empty($placeholders) ? ' VALUES (' . implode(', ', $placeholders) . ')' : ' DEFAULT VALUES');
} }
} }

View File

@@ -197,7 +197,7 @@ EOD;
return 'INSERT INTO ' . $schema->quoteTableName($table) return 'INSERT INTO ' . $schema->quoteTableName($table)
. (!empty($names) ? ' (' . implode(', ', $names) . ')' : '') . (!empty($names) ? ' (' . implode(', ', $names) . ')' : '')
. (!empty($placeholders) ? ' VALUES (' . implode(', ', $placeholders) . ')' : 'DEFAULT VALUES'); . (!empty($placeholders) ? ' VALUES (' . implode(', ', $placeholders) . ')' : ' DEFAULT VALUES');
} }
/** /**