Completed
Pull Request — master (#2016)
by Basil
02:27
created
core/web/jsonld/ThingTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
core/helpers/StringHelper.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -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 = [])
Please login to merge, or discard this patch.