8000 Fix $str->string is overridden following line · symfony/symfony@a37f03e · GitHub
[go: up one dir, main page]

Skip to content

Commit a37f03e

Browse files
committed
Fix $str->string is overridden following line
1 parent ce3c513 commit a37f03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/String/AbstractUnicodeString.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function folded(bool $compat = true): static
190190

191191
if (!$compat || !\defined('Normalizer::NFKC_CF')) {
192192
$str->string = normalizer_normalize($str->string, $compat ? \Normalizer::NFKC : \Normalizer::NFC);
193-
$str->string = mb_strtolower(str_replace(self::FOLD_FROM, self::FOLD_TO, $this->string), 'UTF-8');
193+
$str->string = mb_strtolower(str_replace(self::FOLD_FROM, self::FOLD_TO, $str->string), 'UTF-8');
194194
} else {
195195
$str->string = normalizer_normalize($str->string, \Normalizer::NFKC_CF);
196196
}

0 commit comments

Comments
 (0)
0