Skip to content

Commit

Permalink
doc: fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mpesari authored and romm committed Jun 6, 2024
1 parent 02bd2e5 commit 2ff1d02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/serialization/normalizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ unsupported by serialization functions like `json_encode()`:
- Objects are transformed to arrays based on their properties, no matter their
visibility (public, protected or private)
- Dates are formatted to the RFC 3339 format
- Baked enums use their value, unit enums use their name
- Backed enums use their value, unit enums use their name

Custom transformations can be applied, see [normalizer extension chapter] for
more information.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/usage/type-strictness-and-flexibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $flexibleMapper->map('int', '42');
// List type will accept non-incremental keys.

$flexibleMapper->map('list<int>', ['foo' => 42, 'bar' => 1337]);
// => [0 => 42, 1 => 1338]
// => [0 => 42, 1 => 1337]

// ---
// If a value is missing in a source for a node that accepts `null`, the
Expand Down

0 comments on commit 2ff1d02

Please sign in to comment.