mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Remove typehint
This commit is contained in:
parent
1d91f6efad
commit
65bd144cec
@ -301,7 +301,7 @@ class ProjectChecker
|
|||||||
$debug_output = false,
|
$debug_output = false,
|
||||||
$collect_references = false,
|
$collect_references = false,
|
||||||
$find_references_to = null,
|
$find_references_to = null,
|
||||||
string $reports = null
|
$reports = null
|
||||||
) {
|
) {
|
||||||
$this->file_provider = $file_provider;
|
$this->file_provider = $file_provider;
|
||||||
$this->cache_provider = $cache_provider;
|
$this->cache_provider = $cache_provider;
|
||||||
|
@ -850,7 +850,7 @@ class Reconciler
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($existing_var_type->hasType($new_var_type)) {
|
if ($existing_var_type->hasType($new_var_type)) {
|
||||||
$atomic_type = $existing_var_type->types[$new_var_type];
|
$atomic_type = clone $existing_var_type->types[$new_var_type];
|
||||||
$atomic_type->from_docblock = false;
|
$atomic_type->from_docblock = false;
|
||||||
|
|
||||||
return new Type\Union([$atomic_type]);
|
return new Type\Union([$atomic_type]);
|
||||||
|
Loading…
Reference in New Issue
Block a user