|
@@ -111,7 +111,7 @@ discard block |
|
|
block discarded – undo |
|
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
|
{ |
|
@@ -164,7 +164,7 @@ discard block |
|
|
block discarded – undo |
|
164
|
164
|
* @param string $content The content to minify. |
|
165
|
165
|
* @param array $options Optional arguments to provide for minification: |
|
166
|
166
|
* - comments: boolean, where html comments should be removed or not. defaults to false |
|
167
|
|
- * @return mixed Returns the minified content. |
|
|
167
|
+ * @return string Returns the minified content. |
|
168
|
168
|
* @since 1.0.7 |
|
169
|
169
|
*/ |
|
170
|
170
|
public static function minify($content, array $options = []) |
Please login to merge, or discard this patch.