From 0e14a4e04688c1cec8b4265097e7be1c154b52de Mon Sep 17 00:00:00 2001 From: Balerka <78909936+Balerka@users.noreply.github.com> Date: Sat, 31 Aug 2024 19:41:55 +0500 Subject: [PATCH] Deprecated --- src/Transliterator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transliterator.php b/src/Transliterator.php index 989f3f4..e6ca7b3 100644 --- a/src/Transliterator.php +++ b/src/Transliterator.php @@ -116,7 +116,7 @@ private function getMap(): array $path = $customMaps[$lang][$map] ?? $vendorMapsPath.$lang.DIRECTORY_SEPARATOR.$map.'.php'; if (!file_exists($path)) { - throw new \InvalidArgumentException("The transliteration map '${path}' doesn't exist"); + throw new \InvalidArgumentException("The transliteration map '{$path}' doesn't exist"); } /* @noinspection PhpIncludeInspection */