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:
Brown 2020-04-27 09:50:27 -04:00
parent 95dbb93732
commit f0487c216d
2 changed files with 2 additions and 2 deletions

View File

@ -1277,7 +1277,7 @@ class ReflectorVisitor extends PhpParser\NodeVisitorAbstract implements PhpParse
);
if ($mixin_type->isSingle()) {
$mixin_type = array_values($mixin_type->getAtomicTypes())[0];
$mixin_type = \array_values($mixin_type->getAtomicTypes())[0];
if ($mixin_type instanceof Type\Atomic\TNamedObject) {
if ($mixin_type instanceof Type\Atomic\TGenericObject) {

View File

@ -103,7 +103,7 @@ class ClassLikeStorage
public $mixin_fqcln = null;
/**
* @var null|Type\Atomic\TTemplateParam|Type\ATomic\TNamedObject
* @var null|Type\Atomic\TTemplateParam|Type\Atomic\TNamedObject
*/
public $mixin = null;