Skip to content

Commit

Permalink
Update AwsSnsController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrou authored Mar 18, 2022
1 parent 51b55b5 commit 8684d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/AwsSnsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function __invoke()
$message = Message::fromRawPostData();

$validator = new MessageValidator(function ($certUrl) {
return Cache::rememberForever($certUrl, function ($certUrl) {
return Cache::rememberForever($certUrl, function () use ($certUrl) {
return file_get_contents($certUrl);
});
});
Expand Down

0 comments on commit 8684d05

Please sign in to comment.