|
@@ -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 True if table can be skipped. |
|
95
|
94
|
* @since 1.3.0 |
|
@@ -189,7 +188,7 @@ discard block |
|
|
block discarded – undo |
|
189
|
188
|
* @param string $search Search string to look for. |
|
190
|
189
|
* @param string $replace Replacement value for the first found occurrence. |
|
191
|
190
|
* @param string $subject The string you want to look up to replace the first element. |
|
192
|
|
- * @return mixed Replaced string |
|
|
191
|
+ * @return string Replaced string |
|
193
|
192
|
*/ |
|
194
|
193
|
public static function replaceFirst($search, $replace, $subject) |
|
195
|
194
|
{ |
|
@@ -219,7 +218,7 @@ discard block |
|
|
block discarded – undo |
|
219
|
218
|
* } |
|
220
|
219
|
* ``` |
|
221
|
220
|
* |
|
222
|
|
- * @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. |
|
|
221
|
+ * @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. |
|
223
|
222
|
* @param string $haystack The haystack where the $needle string should be looked up. A string or phrase with words. |
|
224
|
223
|
* @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). |
|
225
|
224
|
* @return boolean If an array of values is provided the response may change depending on $findAll. |
|
@@ -256,7 +255,7 @@ discard block |
|
|
block discarded – undo |
|
256
|
255
|
* @param string $content The content to minify. |
|
257
|
256
|
* @param array $options Optional arguments to provide for minification: |
|
258
|
257
|
* - comments: boolean, where html comments should be removed or not. defaults to false |
|
259
|
|
- * @return mixed Returns the minified content. |
|
|
258
|
+ * @return string Returns the minified content. |
|
260
|
259
|
* @since 1.0.7 |
|
261
|
260
|
*/ |
|
262
|
261
|
public static function minify($content, array $options = []) |