Skip to content

Commit b8edb9f

Browse files
Wording
1 parent f4bb848 commit b8edb9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Serializer/SerializerInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ interface SerializerInterface
2525
*
2626
* @param array<string, mixed> $context Options normalizers/encoders have access to
2727
*
28-
* @throws NotEncodableValueException Occurs when the format is not supported for deserialization
28+
* @throws NotEncodableValueException Occurs when the format is not supported for serialization
2929
* @throws NotNormalizableValueException Occurs when a value cannot be normalized
30-
* @throws ExceptionInterface Occurs for all the other cases of errors
30+
* @throws ExceptionInterface Occurs for all the other cases of serialization-related errors
3131
*/
3232
public function serialize(mixed $data, string $format, array $context = []): string;
3333

@@ -46,7 +46,7 @@ public function serialize(mixed $data, string $format, array $context = []): str
4646
*
4747
* @throws NotEncodableValueException Occurs when the format is not supported for deserialization
4848
* @throws NotNormalizableValueException Occurs when a value cannot be denormalized
49-
* @throws ExceptionInterface Occurs for all the other cases of errors
49+
* @throws ExceptionInterface Occurs for all the other cases of serialization-related errors
5050
*/
5151
public function deserialize(mixed $data, string $type, string $format, array $context = []): mixed;
5252
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy