Skip to content

Commit

Permalink
Use #[...] syntax for annotations in example [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Sep 9, 2020
1 parent 0b6df37 commit fc2b90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ When compiling the following sourcecode, getters for the `id` and `name` members
```php
use codegen\Getters;

@@Getters
#[Getters]
class Person {
private int $id;
private string $name;
Expand Down

0 comments on commit fc2b90a

Please sign in to comment.