Skip to content

Commit

Permalink
[10.x] Fix Str::replace return type (laravel#47779)
Browse files Browse the repository at this point in the history
* Fix `Str::replace` return type

* update
  • Loading branch information
datlechin authored Jul 20, 2023
1 parent 1d04a91 commit c59d540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ public static function replaceArray($search, $replace, $subject)
* @param string|iterable<string> $replace
* @param string|iterable<string> $subject
* @param bool $caseSensitive
* @return string
* @return string|string[]
*/
public static function replace($search, $replace, $subject, $caseSensitive = true)
{
Expand Down

0 comments on commit c59d540

Please sign in to comment.