Skip to content

Commit d302110

Browse files
committed
Improve docs
1 parent cc4fb77 commit d302110

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/annotating_code/supported_annotations.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,9 @@ class D {
370370

371371
### `@psalm-external-mutation-free`
372372

373-
Used to annotate a class method that does not mutate state externally of the class's scope.
373+
Used to annotate a class method that does not mutate state externally of the class's scope.
374+
375+
Can also be used on classes to propagate the same annotation to all of its methods.
374376

375377
```php
376378
<?php

0 commit comments

Comments
 (0)