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

Commit d886754

Browse files
committed
Match interface method declaration.
1 parent 183a432 commit d886754

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,9 +32,9 @@ class AutoRoute extends Route implements AutoRouteInterface
3232
/**
3333
* {@inheritdoc}
3434
*/
35-
public function setLocale($autoRouteLocale)
35+
public function setLocale($locale)
3636
{
37-
$this->setDefault(self::DEFAULT_KEY_AUTO_ROUTE_LOCALE, $autoRouteLocale);
37+
$this->setDefault(self::DEFAULT_KEY_AUTO_ROUTE_LOCALE, $locale);
3838
}
3939

4040
/**

0 commit comments

Comments
 (0)