Skip to content

Commit

Permalink
Merge pull request #48 from teamones-open/add_hint
Browse files Browse the repository at this point in the history
add: 去掉空格
  • Loading branch information
weijer committed Nov 24, 2023
2 parents 4ca2249 + 351b95c commit eef76d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/think/db/Driver.php
Expand Up @@ -982,7 +982,7 @@ protected function parseComment($comment)
*/
protected function parseHint($hint)
{
return !empty($hint) ? ' /*' . $hint . '*/' : '';
return !empty($hint) ? '/*' . $hint . '*/' : '';
}

/**
Expand Down

0 comments on commit eef76d1

Please sign in to comment.