Skip to content

Commit

Permalink
Fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jun 21, 2020
1 parent 10e4e9a commit cbd7ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Type/Reconciler.php
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ private static function getValueForKey(
list($fq_class_name, $const_name) = explode('::', $base_key);

if (!$codebase->classlikes->classOrInterfaceExists($fq_class_name)) {
return false;
return null;
}

$class_constant = $codebase->classlikes->getConstantForClass(
Expand Down

0 comments on commit cbd7ba8

Please sign in to comment.