Skip to content

Commit 3d80d5e

Browse files
committed
Make more readable ContextGenerator.php
1 parent d07bed1 commit 3d80d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ContextGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public static function printWords($words, $spaces = 8, $line = 80)
193193
if ($i == 0) {
194194
$ret .= str_repeat(' ', $spaces);
195195
}
196-
$ret .= "'" . $word . "' => " . $type . ', ';
196+
$ret .= sprintf('\'%s\' => %s, ', $word, $type);
197197
if (++$i == $count) {
198198
$ret .= "\n";
199199
$i = 0;

0 commit comments

Comments
 (0)