File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ This package will smartly transform the following tags to their attribute equiva
17
17
18
18
It won't transform ` @group ` tags or endpoint titles and descriptions (because they can look ugly as attributes).
19
19
20
+ It will only work on methods in classes. Unfortunately, attributes can't be added to inline (closure) routes in a neat way.
21
+
20
22
Example:
21
23
22
24
``` diff
@@ -42,11 +44,6 @@ Example:
42
44
public function doSomething()
43
45
```
44
46
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
-
50
47
## Usage
51
48
- 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).
52
49
- Install this package
You can’t perform that action at this time.
0 commit comments