mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 21:12:41 +00:00
Merge pull request #2503 from dereuromark/master-string
Correct doc block
This commit is contained in:
commit
ca2fb6fcfc
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue