Skip to content

Commit

Permalink
Merge branch '5.2' into 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Sep 23, 2024
2 parents c959228 + 1d02f28 commit dd1ea89
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/src/I18n/SiteLocale.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,24 @@
use UserFrosting\Config\Config;
use UserFrosting\Sprinkle\Account\Authenticate\Authenticator;
use UserFrosting\Sprinkle\Core\I18n\SiteLocale as CoreSiteLocale;
use UserFrosting\Sprinkle\Core\Util\RequestContainer;

/**
* Helper methods for the locale system.
*/
class SiteLocale extends CoreSiteLocale
{
/**
* @param Config $config
* @param Authenticator $authenticator
* @param Config $config
* @param RequestContainer $request
* @param Authenticator $authenticator
*/
public function __construct(
protected Config $config,
protected RequestContainer $request,
protected Authenticator $authenticator,
) {
parent::__construct($config);
parent::__construct($config, $request);
}

/**
Expand Down

0 comments on commit dd1ea89

Please sign in to comment.