Skip to content
Permalink
Browse files

correct doc block

  • Loading branch information...
dereuromark committed Apr 9, 2014
1 parent 879d0d4 commit c321ee5fecfd1da30f1b30e0a73d48770d4a80d7
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Utility/String.php
@@ -405,8 +405,8 @@ public static function wordWrap($text, $width = 72, $break = "\n", $cut = false)
* - `html` If true, will ignore any HTML tags, ensuring that only the correct text is highlighted
* - `regex` a custom regex rule that is used to match words, default is '|$tag|iu'
*
* @param string $text Text to search the phrase in
* @param string $phrase The phrase that will be searched
* @param string $text Text to search the phrase in.
* @param string|array $phrase The phrase or phrases that will be searched.
* @param array $options An array of html attributes and options.
* @return string The highlighted text
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/text.html#TextHelper::highlight
@@ -450,7 +450,7 @@ public static function highlight($text, $phrase, $options = array()) {
}
/**
* Strips given text of all links (<a href=....)
* Strips given text of all links (<a href=....).
*
* @param string $text Text
* @return string The text without links

0 comments on commit c321ee5

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.