mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
c91e245074
The main aim is to exclude boolean false, which could be coerced into '' in the following cases: ``` file_put_contents('outfile', file_get_contents('invalid_file')); // false instead of string file_put_contents('outfile', fopen('invalid_file', 'r')); // false instead of resource file_put_contents('outfile', file('invalid_file')); // false instead of array ```