Skip to content

Commit

Permalink
Merge pull request #2 from jdreesen/patch-1
Browse files Browse the repository at this point in the history
Fix typo in the docs
  • Loading branch information
veewee authored Jan 13, 2024
2 parents f0e8435 + 025a7c7 commit 830314c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/isomorphisms.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $commaSeparatedBase64 = $commaSeparated->compose($base64);

$data = ['hello' ,'world'];
$encoded = $commaSeparatedBase64->to($data);
// > ["hello", "world] -> "hello,world" -> aGVsbG8sd29ybGQ=
// > ["hello", "world"] -> "hello,world" -> aGVsbG8sd29ybGQ=
$actual = $commaSeparatedBase64->from($encoded);
// > aGVsbG8sd29ybGQ= -> "hello,world", ["hello", "world"]

Expand Down
2 changes: 1 addition & 1 deletion docs/lens.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ $person->hat->color = 'green';
$theColor = $personsHatColorLens->get($person);
// > "green"
$newPerson = $personsHatColorLens->set($person, 'red');
// > Person { hat: { color: "green" }}
// > Person { hat: { color: "red" }}
```

## Functions
Expand Down

0 comments on commit 830314c

Please sign in to comment.