Skip to content

Commit 22e058f

Browse files
committed
Merge branch '5.0'
* 5.0: [Dotenv] Documentation improvement [DI] Clarified deprecation for TypedReference in 4.4 [Validator] Add missing vietnamese translations add German translation add missing Messenger options to XML schema definition [5.0] Remove some unused variables [Validator][ConstraintValidator] Update wrong PRETTY_DATE doc [DomCrawler][Form] Fix PHPDoc on get & offsetGet [ErrorHandler] fix parsing static return type on interface method annotation (fix #35836) prevent method calls on null values Return int if scale = 0
2 parents 912a09f + a45ae78 commit 22e058f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnicodeString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function replace(string $from, string $to): AbstractString
241241
$tail = substr($tail, \strlen($slice) + \strlen($from));
242242
}
243243

244-
$str->string = $result .= $tail;
244+
$str->string = $result.$tail;
245245
normalizer_is_normalized($str->string) ?: $str->string = normalizer_normalize($str->string);
246246

247247
if (false === $str->string) {

0 commit comments

Comments
 (0)