Skip to content

Commit

Permalink
incorrect import
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Mar 15, 2017
1 parent 0461d31 commit eb75e46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

use Locale;

use SlmLocale\Locale\Detector;
use Zend\EventManager\EventInterface;
use Zend\Loader\StandardAutoloader;
use Zend\ModuleManager\Feature;
Expand Down Expand Up @@ -74,7 +75,7 @@ public function onBootstrap(EventInterface $e)
$app = $e->getApplication();
$sm = $app->getServiceManager();

$detector = $sm->get(Locale\Detector::class);
$detector = $sm->get(Detector::class);
$result = $detector->detect($app->getRequest(), $app->getResponse());

if ($result instanceof ResponseInterface) {
Expand Down

0 comments on commit eb75e46

Please sign in to comment.