|
@@ -89,7 +89,6 @@ discard block |
|
|
block discarded – undo |
|
89
|
89
|
* ``` |
|
90
|
90
|
* |
|
91
|
91
|
* @param $value The value on which the filter conditions should be applied on. |
|
92
|
|
- * @param array|string $filters An array of filter conditions, if a string is given he will be exploded by commas. |
|
93
|
92
|
* @param boolean $caseSensitive Whether to match value even when lower/upper case is not correct/same. |
|
94
|
93
|
* @return bool Returns true if one of the given filter conditions matches. |
|
95
|
94
|
* @since 1.3.0 |
|
@@ -170,7 +169,7 @@ discard block |
|
|
block discarded – undo |
|
170
|
169
|
* @param string $search Search string to look for. |
|
171
|
170
|
* @param string $replace Replacement value for the first found occurrence. |
|
172
|
171
|
* @param string $subject The string you want to look up to replace the first element. |
|
173
|
|
- * @return mixed Replaced string |
|
|
172
|
+ * @return string Replaced string |
|
174
|
173
|
*/ |
|
175
|
174
|
public static function replaceFirst($search, $replace, $subject) |
|
176
|
175
|
{ |
|
@@ -200,7 +199,7 @@ discard block |
|
|
block discarded – undo |
|
200
|
199
|
* } |
|
201
|
200
|
* ``` |
|
202
|
201
|
* |
|
203
|
|
- * @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. |
|
|
202
|
+ * @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. |
|
204
|
203
|
* @param string $haystack The haystack where the $needle string should be looked up. A string or phrase with words. |
|
205
|
204
|
* @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). |
|
206
|
205
|
* @return boolean If an array of values is provided the response may change depending on $findAll. |
|
@@ -237,7 +236,7 @@ discard block |
|
|
block discarded – undo |
|
237
|
236
|
* @param string $content The content to minify. |
|
238
|
237
|
* @param array $options Optional arguments to provide for minification: |
|
239
|
238
|
* - comments: boolean, where html comments should be removed or not. defaults to false |
|
240
|
|
- * @return mixed Returns the minified content. |
|
|
239
|
+ * @return string Returns the minified content. |
|
241
|
240
|
* @since 1.0.7 |
|
242
|
241
|
*/ |
|
243
|
242
|
public static function minify($content, array $options = []) |