Skip to content
Permalink
Browse files

Fix more links

  • Loading branch information...
cleptric committed Jun 25, 2017
1 parent 4ceba8e commit 4e04ef566f1f73f6b67e38f4cb8ac3899750d2a8
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/Utility/Text.php
@@ -463,7 +463,7 @@ protected static function _wordWrap($text, $width = 72, $break = "\n", $cut = fa
* @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 https://book.cakephp.org/3.0/en/core-libraries/string.html#highlighting-substrings
* @link https://book.cakephp.org/3.0/en/core-libraries/text.html#highlighting-substrings
*/
public static function highlight($text, $phrase, array $options = [])
{
@@ -580,7 +580,7 @@ public static function tail($text, $length = 100, array $options = [])
* @param int $length Length of returned string, including ellipsis.
* @param array $options An array of HTML attributes and options.
* @return string Trimmed string.
* @link https://book.cakephp.org/3.0/en/core-libraries/string.html#truncating-text
* @link https://book.cakephp.org/3.0/en/core-libraries/text.html#truncating-text
*/
public static function truncate($text, $length = 100, array $options = [])
{
@@ -848,7 +848,7 @@ protected static function _removeLastWord($text)
* @param int $radius The amount of characters that will be returned on each side of the founded phrase
* @param string $ellipsis Ending that will be appended
* @return string Modified string
* @link https://book.cakephp.org/3.0/en/core-libraries/string.html#extracting-an-excerpt
* @link https://book.cakephp.org/3.0/en/core-libraries/text.html#extracting-an-excerpt
*/
public static function excerpt($text, $phrase, $radius = 100, $ellipsis = '...')
{
@@ -891,7 +891,7 @@ public static function excerpt($text, $phrase, $radius = 100, $ellipsis = '...')
* @param string|null $and The word used to join the last and second last items together with. Defaults to 'and'.
* @param string $separator The separator used to join all the other items together. Defaults to ', '.
* @return string The glued together string.
* @link https://book.cakephp.org/3.0/en/core-libraries/string.html#converting-an-array-to-sentence-form
* @link https://book.cakephp.org/3.0/en/core-libraries/text.html#converting-an-array-to-sentence-form
*/
public static function toList(array $list, $and = null, $separator = ', ')
{
@@ -1000,7 +1000,7 @@ public static function ascii(array $array)
* @param mixed $default Value to be returned when invalid size was used, for example 'Unknown type'
* @return mixed Number of bytes as integer on success, `$default` on failure if not false
* @throws \InvalidArgumentException On invalid Unit type.
* @link https://book.cakephp.org/3.0/en/core-libraries/helpers/text.html
* @link https://book.cakephp.org/3.0/en/core-libraries/text.html#Cake\Utility\Text::parseFileSize
*/
public static function parseFileSize($size, $default = false)
{

0 comments on commit 4e04ef5

Please sign in to comment.
You can’t perform that action at this time.