mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Expose queueClassLikeForScanning (#3070)
This commit is contained in:
parent
c50faeafee
commit
5be4cc2582
@ -39,7 +39,6 @@ use function strrpos;
|
||||
use function strtolower;
|
||||
use function substr;
|
||||
use function substr_count;
|
||||
use function preg_replace;
|
||||
|
||||
class Codebase
|
||||
{
|
||||
@ -1705,4 +1704,17 @@ class Codebase
|
||||
$value_type ?? Type::getMixed(),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $phantom_classes
|
||||
* @psalm-suppress PossiblyUnusedMethod part of the public API
|
||||
*/
|
||||
public function queueClassLikeForScanning(
|
||||
string $fq_classlike_name,
|
||||
bool $analyze_too = false,
|
||||
bool $store_failure = true,
|
||||
array $phantom_classes = []
|
||||
): void {
|
||||
$this->scanner->queueClassLikeForScanning($fq_classlike_name, $analyze_too, $store_failure, $phantom_classes);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user