diff --git a/src/Utility/Text.php b/src/Utility/Text.php index e3b3f129cb4..c35add1e907 100644 --- a/src/Utility/Text.php +++ b/src/Utility/Text.php @@ -138,7 +138,7 @@ public static function tokenize($data, $separator = ',', $leftBound = '(', $righ * corresponds to a variable placeholder name in $str. * Example: * ``` - * Text::insert(':name is :age years old.', ['name' => 'Bob', '65']); + * Text::insert(':name is :age years old.', ['name' => 'Bob', 'age' => '65']); * ``` * Returns: Bob is 65 years old. *