Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
d8vjork committed Oct 23, 2023
1 parent ea9689a commit 540f389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/creating-dtos.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ final class CreatePostData extends DataTransferObject
*/
public function withDefaults(): void
{
// Filled will check wether description is on the request or property not null (depending on the context)
// Filled will check whether description is on the request or property not null (depending on the context)
if (! $this->filled('description')) {
$this->description = 'Example of a description...';
}
Expand Down
2 changes: 1 addition & 1 deletion src/TypeGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function generate(): void
}

/**
* Determine wether the specified property is nullable.
* Determine whether the specified property is nullable.
*
* @param array<\ReflectionParameter> $constructorParameters
*/
Expand Down

0 comments on commit 540f389

Please sign in to comment.