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
95dbb93732
commit
f0487c216d
@ -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) {
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user