Skip to content
Snippets Groups Projects
Unverified Commit 9ad60fe1 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fix psalm issues.

Psalm is starting to get annoying. Both openssl_decrypt() and realpath() can return a string or false on error. Psalm seems to ignore the latter all of a sudden, so it assumes the returned variable will always be a string and then it fails when you check on errors. This fix explicitly declares the problematic variables with types string or false, so that psalm stops complaining.
parent c87b51d4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment