Skip to content

Commit df69f1a

Browse files
committed
Update doc
1 parent 70f287b commit df69f1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ Example:
4242
public function doSomething()
4343
```
4444

45+
> Note that this rule will only work on methods in classes. Unfortunately, attributes can't be added to inline (closure) routes in a neat way.
46+
4547
## Usage
4648
- 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).
4749
- Install this package

0 commit comments

Comments
 (0)