diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-14 15:12:28 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-14 15:12:28 +0200 |
commit | c54fb5f9e616e0a0a5a475a1378cb340d7083780 (patch) | |
tree | 053603c579c7108583af509e9154f185d63329fa /lib/private/L10N/L10N.php | |
parent | ad10cd5f65fc145889bade0a57a910502cd02750 (diff) | |
download | nextcloud-server-c54fb5f9e616e0a0a5a475a1378cb340d7083780.tar.gz nextcloud-server-c54fb5f9e616e0a0a5a475a1378cb340d7083780.zip |
Use {$var} instead of ${var} for PHP 8.2 compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/L10N/L10N.php')
-rw-r--r-- | lib/private/L10N/L10N.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |