upgrade to laravel 7 and set branch to v2
This commit is contained in:
@@ -31,7 +31,7 @@ class CompiledUrlGenerator extends UrlGenerator
|
||||
$this->defaultLocale = $defaultLocale;
|
||||
}
|
||||
|
||||
public function generate($name, $parameters = [], $referenceType = self::ABSOLUTE_PATH)
|
||||
public function generate(string $name, array $parameters = [], int $referenceType = self::ABSOLUTE_PATH)
|
||||
{
|
||||
$locale = $parameters['_locale']
|
||||
?? $this->context->getParameter('_locale')
|
||||
|
||||
Reference in New Issue
Block a user