Replies: 1 comment 2 replies
-
That should help: https://psalm.dev/docs/annotating_code/adding_assertions/#asserting-return-values-of-methods |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given the following file
I would like to somehow define that the
getPage
function is not null if the result of thecontainsPage
is true. Just like the IDE recognises it with null checks. Is this somehow possible?Beta Was this translation helpful? Give feedback.
All reactions