@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * @param string $search Search string to look for. |
112 | 112 | * @param string $replace Replacement value for the first found occurrence. |
113 | 113 | * @param string $subject The string you want to look up to replace the first element. |
114 | - * @return mixed Replaced string |
|
114 | + * @return string Replaced string |
|
115 | 115 | */ |
116 | 116 | public static function replaceFirst($search, $replace, $subject) |
117 | 117 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | * } |
142 | 142 | * ``` |
143 | 143 | * |
144 | - * @param string|array $needle The char or word to find in the $haystack. Can be an array to multi find words or char in the string. |
|
144 | + * @param string $needle The char or word to find in the $haystack. Can be an array to multi find words or char in the string. |
|
145 | 145 | * @param string $haystack The haystack where the $needle string should be looked up. A string or phrase with words. |
146 | 146 | * @param boolean $strict If an array of needles is provided the $strict parameter defines whether all keys must be found ($strict = true) or just one result must be found ($strict = false). |
147 | 147 | * @return boolean If an array of values is provided the response may change depending on $findAll. |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | * @param string $content The content to minify. |
179 | 179 | * @param array $options Optional arguments to provide for minification: |
180 | 180 | * - comments: boolean, where html comments should be removed or not. defaults to false |
181 | - * @return mixed Returns the minified content. |
|
181 | + * @return string Returns the minified content. |
|
182 | 182 | * @since 1.0.7 |
183 | 183 | */ |
184 | 184 | public static function minify($content, array $options = []) |