Skip to content

Commit

Permalink
Fix false negative in return type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Dec 4, 2016
1 parent d951e1d commit d390a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Checker/TypeChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ function ($type_value) {
}

if (!$is_match) {
return true;
return false;
}
}
}
Expand Down

0 comments on commit d390a57

Please sign in to comment.