Browse Source

Correct doc block

euromark 12 years ago
parent
commit
3100118a4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Utility/String.php

+ 1 - 1
lib/Cake/Utility/String.php

@@ -107,7 +107,7 @@ class String {
  * @param string $separator The token to split the data on.
  * @param string $leftBound The left boundary to ignore separators in.
  * @param string $rightBound The right boundary to ignore separators in.
- * @return array Array of tokens in $data.
+ * @return mixed Array of tokens in $data or original input if empty.
  */
 	public static function tokenize($data, $separator = ',', $leftBound = '(', $rightBound = ')') {
 		if (empty($data) || is_array($data)) {