Skip to content

Commit 614acd6

Browse files
committed
wip
1 parent b473aa1 commit 614acd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Faker.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ public function appStoreNotification(array $data = [], ?string $notificationType
129129
$fakeSignKey = InMemory::plainText($this->generateECPrivateKey());
130130

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

134134
foreach ($data as $key => $value) {
135-
$builder->withClaim($key, $value);
135+
$builder = $builder->withClaim($key, $value);
136136
}
137137

138138
return $builder;

0 commit comments

Comments
 (0)