Browse Source

Merge pull request #8458 from Sethathi/text-insert-function-headers-example-fix

fixes Text::insert function example
ADmad 10 years ago
parent
commit
65271f3811
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Utility/Text.php

+ 1 - 1
src/Utility/Text.php

@@ -138,7 +138,7 @@ class Text
      * 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.
      *