1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Comment out type coercion warnings

This commit is contained in:
Matthew Brown 2016-04-15 13:24:20 -04:00
parent 6684d80041
commit 278d2cb642

View File

@ -2329,7 +2329,7 @@ class StatementsChecker
if (!is_subclass_of($return_type, $expected_type, true)) {
if (is_subclass_of($expected_type, $return_type, true)) {
echo('Warning: dangerous type coercion in ' . $file_name . ' on line ' . $line_number . PHP_EOL);
//echo('Warning: dangerous type coercion in ' . $file_name . ' on line ' . $line_number . PHP_EOL);
return true;
}