Skip to content

Commit

Permalink
Merge pull request #7 from VictoRD11/addNewVersion
Browse files Browse the repository at this point in the history
Add new version
  • Loading branch information
VictoRD11 authored Feb 8, 2024
2 parents 46cbc43 + e1363a1 commit 02763e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transliterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,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 */
Expand Down

0 comments on commit 02763e3

Please sign in to comment.