diff --git a/src/Illuminate/Support/Str.php b/src/Illuminate/Support/Str.php index 3eef5a6aa9a6..d74ebac1fec2 100644 --- a/src/Illuminate/Support/Str.php +++ b/src/Illuminate/Support/Str.php @@ -956,7 +956,7 @@ public static function replaceArray($search, $replace, $subject) * @param string|iterable $replace * @param string|iterable $subject * @param bool $caseSensitive - * @return string + * @return string|string[] */ public static function replace($search, $replace, $subject, $caseSensitive = true) {