Skip to content

Commit

Permalink
Fix #2349 - allow suppression of InvalidReturnType for no-return
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Nov 14, 2019
1 parent d5b90f6 commit b3a15e8
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -192,7 +192,8 @@ public static function verifyReturnType(
$cased_method_id . ' is not expected to return any values but it does, ' $cased_method_id . ' is not expected to return any values but it does, '
. 'either implicitly or explicitly', . 'either implicitly or explicitly',
$return_type_location $return_type_location
) ),
$source->getSuppressedIssues()
)) { )) {
return false; return false;
} }
Expand Down

0 comments on commit b3a15e8

Please sign in to comment.