Update lib/Command/UpdateReverseGeocodingFilesCommand.php

Use plural in exception

Signed-off-by: Louis <louis@chmn.me>
This commit is contained in:
Louis 2024-01-18 17:18:19 +01:00 committed by GitHub
parent da806b3080
commit 83996a38db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class UpdateReverseGeocodingFilesCommand extends Command {
protected function execute(InputInterface $input, OutputInterface $output): int {
try {
if (!$this->rgcService->arePlacesEnabled()) {
throw new \Exception('Place is disabled');
throw new \Exception('Places is disabled');
}
$this->rgcService->buildKDTree(true);