From c54fb5f9e616e0a0a5a475a1378cb340d7083780 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Tue, 14 Jun 2022 15:12:28 +0200 Subject: Use {$var} instead of ${var} for PHP 8.2 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/L10N/L10N.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/L10N/L10N.php') diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php index 09c0f1cdb35..82ef3350b1f 100644 --- a/lib/private/L10N/L10N.php +++ b/lib/private/L10N/L10N.php @@ -122,7 +122,7 @@ class L10N implements IL10N { * */ public function n(string $text_singular, string $text_plural, int $count, array $parameters = []): string { - $identifier = "_${text_singular}_::_${text_plural}_"; + $identifier = "_{$text_singular}_::_{$text_plural}_"; if (isset($this->translations[$identifier])) { return (string) new L10NString($this, $identifier, $parameters, $count); } -- cgit v1.2.3