[12.x] Improve return type of Str::replace()
#57820
Merged
Loading
Str::replace()
#57820