Skip to content

Commit edd7540

Browse files
committed
Update doc
1 parent 00506bb commit edd7540

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ This package will smartly transform the following tags to their attribute equiva
1717

1818
It won't transform `@group` tags or endpoint titles and descriptions (because they can look ugly as attributes).
1919

20+
It will only work on methods in classes. Unfortunately, attributes can't be added to inline (closure) routes in a neat way.
21+
2022
Example:
2123

2224
```diff
@@ -42,11 +44,6 @@ Example:
4244
public function doSomething()
4345
```
4446

45-
46-
> Note
47-
>
48-
> This rule will only work on methods in classes. Unfortunately, attributes can't be added to inline (closure) routes in a neat way.
49-
5047
## Usage
5148
- Make sure the minimum PHP version in your `composer.json` is 8.0 (ie you should have `"php": ">= 8.0"` or similar in your `"require"` section).
5249
- Install this package

0 commit comments

Comments
 (0)