Skip to content

Commit 3235ae9

Browse files
committed
Fix readme typo
1 parent a8a5e46 commit 3235ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function getAge(): ?int;
120120

121121
// setters to change the values of the model after instantiation (only generated if immutability is disabled)
122122
public function setName(string $name): Person;
123-
public function setAge(int ?$age): Person;
123+
public function setAge(?int $age): Person;
124124
```
125125

126126
Now let's have a look at the behaviour of the generated model:

0 commit comments

Comments
 (0)