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

Fix too-long line

This commit is contained in:
Matthew Brown 2017-11-13 21:21:54 -05:00
parent 7e8ae33d56
commit 160a95a8bf

View File

@ -238,10 +238,11 @@ abstract class FunctionLikeChecker extends SourceChecker implements StatementsSo
$or_null_implemented_type->types['null'] = new Type\Atomic\TNull; $or_null_implemented_type->types['null'] = new Type\Atomic\TNull;
} }
if ($class_storage->user_defined if ($class_storage->user_defined
&& (string)$storage->params[$i]->signature_type !== (string)$implemented_param->signature_type && (string)$storage->params[$i]->signature_type
&& (string)$storage->params[$i]->signature_type !== (string)$or_null_implemented_type !== (string)$implemented_param->signature_type
&& (string)$storage->params[$i]->signature_type
!== (string)$or_null_implemented_type
) { ) {
$cased_method_id = MethodChecker::getCasedMethodId( $cased_method_id = MethodChecker::getCasedMethodId(
$project_checker, $project_checker,