Skip to content

Commit d9882fc

Browse files
committed
Fixed three @param data types
1 parent a7213b2 commit d9882fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Cake/Utility/String.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ public static function tokenize($data, $separator = ',', $leftBound = '(', $righ
191191
* - clean: A boolean or array with instructions for String::cleanInsert
192192
*
193193
* @param string $str A string containing variable placeholders
194-
* @param string $data A key => val array where each key stands for a placeholder variable name
194+
* @param array $data A key => val array where each key stands for a placeholder variable name
195195
* to be replaced with val
196-
* @param string $options An array of options, see description above
196+
* @param array $options An array of options, see description above
197197
* @return string
198198
*/
199199
public static function insert($str, $data, $options = array()) {
@@ -256,7 +256,7 @@ public static function insert($str, $data, $options = array()) {
256256
* by String::insert().
257257
*
258258
* @param string $str
259-
* @param string $options
259+
* @param array $options
260260
* @return string
261261
* @see String::insert()
262262
*/

0 commit comments

Comments
 (0)