Skip to content

Commit

Permalink
Improving second link too :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLandauer committed Jun 21, 2022
1 parent 7201f09 commit 80bcc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/running_psalm/issues/PossiblyNullArgument.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ This fails since psalm cannot know if `changeCat()` does actually modify `$cat`.

#### Possible Solutions

* Add [`@psalm-mutation-free`](https://psalm.dev/docs/annotating_code/supported_annotations/#psalm-mutation-free) to the declaration of the other function (here: `changeCat()`) too
* Add [`@psalm-mutation-free`](../../annotating_code/supported_annotations.md#psalm-mutation-free) to the declaration of the other function (here: `changeCat()`) too
* Use a variable: See above

0 comments on commit 80bcc8b

Please sign in to comment.