Skip to content

Commit

Permalink
Update SiteLocale for sprinkle-core 5.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Sep 23, 2024
1 parent 73fb404 commit 3739591
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/src/I18n/SiteLocale.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
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.
Expand All @@ -24,13 +25,15 @@ class SiteLocale extends CoreSiteLocale
{
/**
* @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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"birke/rememberme" : "^2.0",
"nikic/php-parser" : "^4.2.2",
"userfrosting/framework": "~5.1.0",
"userfrosting/sprinkle-core": "~5.1.0"
"userfrosting/sprinkle-core": "~5.1.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
Expand Down

0 comments on commit 3739591

Please sign in to comment.