Skip to content

Commit

Permalink
⬆️ (composer.json): upgrade flagsmith/flagsmith-php-client to version…
Browse files Browse the repository at this point in the history
… 4.4.0 for improved features and bug fixes

♻️ (UserLogin.php): refactor generateIdentitiesCacheKey call to include a new parameter for better clarity and functionality
  • Loading branch information
tm1000 committed Aug 29, 2024
1 parent 2965136 commit e2e2775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": "^8.2",
"laravel/framework": "^10.44.0 || ^11.0",
"flagsmith/flagsmith-php-client": "^4.3.1"
"flagsmith/flagsmith-php-client": "^4.4.0"
},
"extra": {
"laravel": {
Expand Down
1 change: 1 addition & 0 deletions src/Listeners/UserLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function handle(Login $event)
$key = IdentitiesGenerator::generateIdentitiesCacheKey(
$user->getFlagIdentityId(),
(object) $user->getFlagTraits(),
false,
);

//Doesn't exist so get it now
Expand Down

0 comments on commit e2e2775

Please sign in to comment.