@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. |
| 25 | 25 | * This is a relationship between something and a class that the thing is in. |
| 26 | 26 | * |
| 27 | - * @param string $additionalType |
|
| 27 | + * @param UrlValue $additionalType |
|
| 28 | 28 | * @return static |
| 29 | 29 | */ |
| 30 | 30 | public function setAdditionalType(UrlValue $additionalType) |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | /** |
| 264 | 264 | * Set Offer |
| 265 | 265 | * |
| 266 | - * @param Offer $offer |
|
| 266 | + * @param Offer $offers |
|
| 267 | 267 | * @since @since 1.2.2 |
| 268 | 268 | * @return static |
| 269 | 269 | */ |
@@ -89,7 +89,6 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 = []) |