From 3100118a4e7d5b90a0b58235888a51cd670dcceb Mon Sep 17 00:00:00 2001 From: euromark Date: Wed, 18 Dec 2013 12:10:23 +0100 Subject: [PATCH] Correct doc block --- lib/Cake/Utility/String.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Utility/String.php b/lib/Cake/Utility/String.php index bba242a99..b9444ba90 100644 --- a/lib/Cake/Utility/String.php +++ b/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)) {