Skip to content
Snippets Groups Projects
  • Jaime Pérez Crespo's avatar
    Fix psalm issues. · 9ad60fe1
    Jaime Pérez Crespo authored
    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.
    Unverified
    9ad60fe1
Code owners
Assign users and groups as approvers for specific file changes. Learn more.