8000 Merge branch '4.4' into 5.4 · symfony/templating@3933eaa · GitHub
[go: up one dir, main page]

Skip to content

Commit 3933eaa

Browse files
Merge branch '4.4' into 5.4
* 4.4: CS fixes Bump Symfony version to 4.4.44 Update VERSION for 4.4.43 Update CONTRIBUTORS for 4.4.43 Update CHANGELOG for 4.4.43
2 parents b530c7c + 2bfe94a commit 3933eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function escape($value, string $context = 'html')
303303

304304
// If we deal with a scalar value, we can cache the result to increase
305305
// the performance when the same value is escaped multiple times (e.g. loops)
306-
if (is_scalar($value)) {
306+
if (\is_scalar($value)) {
307307
if (!isset(self::$escaperCache[$context][$value])) {
308308
self::$escaperCache[$context][$value] = $this->getEscaper($context)($value);
309309
}

0 commit comments

Comments
 (0)
0