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 */