Stop using a singleton for LocaleManager (#298)

This commit is contained in:
Pierre Rudloff 2020-10-17 22:36:03 +02:00
parent f5045b3ae7
commit 15636aa435
7 changed files with 9 additions and 46 deletions

View file

@ -21,6 +21,6 @@ class LocaleManagerFactory
throw new DependencyException('You need to install the intl extension for PHP.');
}
return LocaleManager::getInstance();
return new LocaleManager();
}
}