mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix possible nullref
This commit is contained in:
parent
6e7bab58c4
commit
5995de0c9f
@ -793,7 +793,9 @@ abstract class FunctionLikeChecker extends SourceChecker implements StatementsSo
|
||||
&& !$guide_param->type->from_docblock
|
||||
&& (!$implemeneter_param_type
|
||||
|| ($implemeneter_param_type->getId() !== $guide_param->type->getId()
|
||||
&& $implemeneter_param_type->getId() !== $or_null_guide_type->getId()
|
||||
&& (!$or_null_guide_type
|
||||
|| $implemeneter_param_type->getId() !== $or_null_guide_type->getId()
|
||||
)
|
||||
)
|
||||
)
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user