mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Make sure to return bool where necessary
This commit is contained in:
parent
50aff4bcb7
commit
59acb5cfb7
@ -191,7 +191,7 @@ class ClassChecker implements StatementsSource
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
* @return bool
|
||||
*/
|
||||
public static function checkClassName(PhpParser\Node\Name $class_name, $namespace, array $aliased_classes, $file_name)
|
||||
{
|
||||
@ -201,7 +201,7 @@ class ClassChecker implements StatementsSource
|
||||
|
||||
$absolute_class = self::getAbsoluteClassFromName($class_name, $namespace, $aliased_classes);
|
||||
|
||||
self::checkAbsoluteClass($absolute_class, $class_name, $file_name);
|
||||
return self::checkAbsoluteClass($absolute_class, $class_name, $file_name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user