Style fix

This commit is contained in:
Rinat Gumirov 2019-10-04 00:57:51 +05:00 committed by Adrien Crivelli
parent 73c79a90a8
commit 82b3a36ab7
1 changed files with 9 additions and 6 deletions

View File

@ -44,13 +44,16 @@ class DataTypeTest extends TestCase
for ($i = 0; $i < $length; ++$i) {
$x = mt_rand(0, 2);
switch ($x) {
case 0: $string .= chr(mt_rand(97, 122));
case 0:
$string .= chr(mt_rand(97, 122));
break;
case 1: $string .= chr(mt_rand(65, 90));
case 1:
$string .= chr(mt_rand(65, 90));
break;
case 2: $string .= chr(mt_rand(48, 57));
case 2:
$string .= chr(mt_rand(48, 57));
break;
}