1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Add slash

This commit is contained in:
Matt Brown 2020-10-22 18:30:36 -04:00 committed by Daniil Gentili
parent 67859ed19b
commit 6a8a660efc
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -3428,7 +3428,7 @@ class ReflectorVisitor extends PhpParser\NodeVisitorAbstract implements FileSour
if ($type_string) {
$atomic_types = $type->getAtomicTypes();
$atomic_type = reset($atomic_types);
$atomic_type = \reset($atomic_types);
$atomic_type->text = $type_string;
}