Skip to content

Commit fd60e1a

Browse files
Spomkygitbook-bot
Spomky
authored andcommitted
GITBOOK-12: No subject
1 parent e546884 commit fd60e1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pure-php/authenticator-registration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ use Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer;
7373
$jsonObject = $serializer->serialize(
7474
$publicKeyCredentialCreationOptions,
7575
'json',
76-
[ // Optional
77-
AbstractObjectNormalizer::SKIP_NULL_VALUES => true,
78-
JsonEncode::OPTIONS => JSON_THROW_ON_ERROR,
76+
[
77+
AbstractObjectNormalizer::SKIP_NULL_VALUES => true, // Highly recommended!
78+
JsonEncode::OPTIONS => JSON_THROW_ON_ERROR, // Optional
7979
]
8080
);
8181
```

0 commit comments

Comments
 (0)