Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
imdhemy committed Feb 8, 2025
1 parent b473aa1 commit 614acd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Faker.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ public function appStoreNotification(array $data = [], ?string $notificationType
$fakeSignKey = InMemory::plainText($this->generateECPrivateKey());

return (new JwtFacade())->issue($alg, $fakeSignKey, static function (Builder $builder) use ($data, $x5c) {
$builder->withHeader('x5c', $x5c);
$builder = $builder->withHeader('x5c', $x5c);

foreach ($data as $key => $value) {
$builder->withClaim($key, $value);
$builder = $builder->withClaim($key, $value);
}

return $builder;
Expand Down

0 comments on commit 614acd6

Please sign in to comment.