Completed
Push — master ( 5ce9fb...61a1ff )
by Mark
04:09 queued 10s
created
src/Core/functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * Commonly used like `list($namespace, $className) = namespaceSplit($class);`.
117 117
      *
118 118
      * @param string $class The full class name, ie `Cake\Core\App`.
119
-     * @return array Array with 2 indexes. 0 => namespace, 1 => classname.
119
+     * @return string[] Array with 2 indexes. 0 => namespace, 1 => classname.
120 120
      */
121 121
     function namespaceSplit($class)
122 122
     {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      *
140 140
      * This function returns the same variable that was passed.
141 141
      *
142
-     * @param mixed $var Variable to print out.
142
+     * @param string $var Variable to print out.
143 143
      * @return mixed the same $var that was passed to this function
144 144
      * @link https://book.cakephp.org/3/en/core-libraries/global-constants-and-functions.html#pr
145 145
      * @see debug()
Please login to merge, or discard this patch.
src/Utility/Text.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -480,7 +480,7 @@  discard block
 block discarded – undo
480 480
      * - `limit` A limit, optional, defaults to -1 (none)
481 481
      *
482 482
      * @param string $text Text to search the phrase in.
483
-     * @param string|array $phrase The phrase or phrases that will be searched.
483
+     * @param string $phrase The phrase or phrases that will be searched.
484 484
      * @param array $options An array of HTML attributes and options.
485 485
      * @return string The highlighted text
486 486
      * @link https://book.cakephp.org/3/en/core-libraries/text.html#highlighting-substrings
@@ -1148,7 +1148,7 @@  discard block
 block discarded – undo
1148 1148
      *   For e.g. this option can be set to '.' to generate clean file names.
1149 1149
      *
1150 1150
      * @param string $string the string you want to slug
1151
-     * @param array $options If string it will be use as replacement character
1151
+     * @param string $options If string it will be use as replacement character
1152 1152
      *   or an array of options.
1153 1153
      * @return string
1154 1154
      * @see setTransliterator()
Please login to merge, or discard this patch.