mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Add slash
This commit is contained in:
parent
ea82cdc6ea
commit
fab07c58bd
@ -168,7 +168,7 @@ class TClassString extends TString
|
||||
|
||||
$as_type_types = \array_values($as_type->getAtomicTypes());
|
||||
|
||||
$class_string->as_type = count($as_type_types) === 1
|
||||
$class_string->as_type = \count($as_type_types) === 1
|
||||
&& $as_type_types[0] instanceof TNamedObject
|
||||
? $as_type_types[0]
|
||||
: null;
|
||||
|
Loading…
Reference in New Issue
Block a user