From 16cb95557ddfaf134e25aa08cb8b6ef36e1f6d2b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 29 Apr 2009 21:35:38 +0000 Subject: - Patch #295864 by boombatower, sun: fixed typos in the documentation. Nice catches, sun\! --- modules/simpletest/drupal_web_test_case.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'modules') diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 424e1f335..7954c7a64 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -641,11 +641,13 @@ class DrupalWebTestCase { } /** - * Generates a random string of ASCI characters of codes 32 to 126. That - * includes alpha-numeric characters and common misc characters. + * Generates a random string of ASCII characters of codes 32 to 126. + * + * The generated string includes alpha-numeric characters and common misc + * characters. * * @param $length - * Length of random string to generate which will be appended to $db_prefx. + * Length of random string to generate which will be appended to $db_prefix. * @return * Randomly generated string. */ @@ -660,12 +662,13 @@ class DrupalWebTestCase { } /** - * Generates a random string containing letters, both capital and lower, and - * numbers. This method is better for restricted inputs that do not accept - * certain characters. + * Generates a random string containing letters and numbers. + * + * The letters may be upper or lower case. This method is better for + * restricted inputs that do not accept certain characters. * * @param $length - * Length of random string to generate which will be appended to $db_prefx. + * Length of random string to generate which will be appended to $db_prefix. * @return * Randomly generated string. */ -- cgit v1.2.3