File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ public static function build($component)
159159 $ tmp = '( ' . implode (', ' , $ component ->parameters ) . ') ' ;
160160 }
161161 return trim (
162- $ component ->name . ' ' . $ tmp . ' '
162+ $ component ->name . $ tmp . ' '
163163 . OptionsArray::build ($ component ->options )
164164 );
165165 }
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ function __($str)
3434
3535 if (!defined ('USE_UTF_STRINGS ' )) {
3636
37+ // NOTE: In previous versions of PHP (5.5 and older) the default
38+ // internal encoding is "ISO-8859-1".
39+ // All `mb_` functions must specify the correct encoding, which is
40+ // 'UTF-8' in order to work properly.
41+
3742 /**
3843 * Forces usage of `UtfString` if the string is multibyte.
3944 * `UtfString` may be slower, but it gives better results.
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testBuilderTable()
5858
5959 $ this ->assertEquals (
6060 "CREATE TABLE `test` ( \n" .
61- "`id` INT (11) UNSIGNED NOT NULL AUTO_INCREMENT, \n" .
61+ "`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, \n" .
6262 "PRIMARY KEY (`id`) \n" .
6363 ") " ,
6464 $ stmt ->build ()
You can’t perform that action at this time.
0 commit comments