Skip to content

Commit 4e1b7a1

Browse files
Merge pull request #84 from Klaas058/klaas058/fix-typos-in-docs
Fix some typos in docs
2 parents 9aa1ef1 + 1c0f9b8 commit 4e1b7a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/under-the-hood.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Each property of the DTO will be checked: does it have a PHP type and/or does it
2929
A good example of a type processor is the `ReplaceDefaultsTypeProcessor`. This one will replace some default types you can define in the configuration with a TypeScript representation. For example transforming `DateTime` or `Carbon` types to `string`.
3030

3131
DTO's often have properties that contain other DTO's, or even other custom types. This is why we'll also keep track of the missing symbols when transforming a DTO.
32-
Let's say your DTO has a property that contains another DTO. At the moment of transformation, the package will not know how that other DTO should be transformed. We'll temporarily use a missing symbol that can be replaced by a reference to the correcty DTO type later.
32+
Let's say your DTO has a property that contains another DTO. At the moment of transformation, the package will not know how that other DTO should be transformed. We'll temporarily use a missing symbol that can be replaced by a reference to the correct DTO type later.
3333

3434
## Step 3: Replacing missing symbols
3535

docs/usage/annotations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ It is possible to directly represent a type as TypeScript within your PHP code:
114114
class CustomString{}
115115
```
116116

117-
Now when `Language` is being transformed, the TypeScript respresentation is used:
117+
Now when `Language` is being transformed, the TypeScript representation is used:
118118

119119
```tsx
120120
export type CustomString = string | null;

0 commit comments

Comments
 (0)