1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Fix type bug

This commit is contained in:
Brown 2020-08-15 09:41:21 -04:00
parent f12f4c8cb3
commit 61a0832c05

View File

@ -435,12 +435,11 @@ class MethodComparator
. $implementer_param->name . ', expecting $' . $implementer_param->name . ', expecting $'
. $guide_param->name . ' as defined by ' . $guide_param->name . ' as defined by '
. $cased_guide_method_id, . $cased_guide_method_id,
$implementer_param->location $config->isInProjectDirs(
&& $config->isInProjectDirs( $implementer_param->location->file_path
$implementer_param->location->file_path )
) ? $implementer_param->location
? $implementer_param->location : $code_location
: $code_location
) )
)) { )) {
// fall through // fall through