Skip to content

Commit fc2b90a

Browse files
committed
Use #[...] syntax for annotations in example [skip ci]
1 parent 0b6df37 commit fc2b90a

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
@@ -39,7 +39,7 @@ When compiling the following sourcecode, getters for the `id` and `name` members
3939
```php
4040
use codegen\Getters;
4141

42-
@@Getters
42+
#[Getters]
4343
class Person {
4444
private int $id;
4545
private string $name;

0 commit comments

Comments
 (0)