Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 183a432

Browse files
author
Damien Flament
authored
Correct some typos !
1 parent 06ad303 commit 183a432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Model/AutoRoute.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ class AutoRoute extends Route implements AutoRouteInterface
3232
/**
3333
* {@inheritdoc}
3434
*/
35-
public function setAutoRouteLocale($autoRouteLocale)
35+
public function setLocale($autoRouteLocale)
3636
{
3737
$this->setDefault(self::DEFAULT_KEY_AUTO_ROUTE_LOCALE, $autoRouteLocale);
3838
}
3939

4040
/**
4141
* {@inheritdoc}
4242
*/
43-
public function getAutoRouteLocale()
43+
public function getLocale()
4444
{
4545
return $this->getDefault(self::DEFAULT_KEY_AUTO_ROUTE_LOCALE);
4646
}

0 commit comments

Comments
 (0)