mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Add slashes
This commit is contained in:
parent
b67f661604
commit
f981c61990
@ -819,7 +819,7 @@ abstract class Type
|
||||
|
||||
if ($t instanceof Atomic\TTemplateParam) {
|
||||
$t_atomic_types = $t->as->getAtomicTypes();
|
||||
$t_atomic_type = count($t_atomic_types) === 1 ? reset($t_atomic_types) : null;
|
||||
$t_atomic_type = \count($t_atomic_types) === 1 ? \reset($t_atomic_types) : null;
|
||||
|
||||
if (!$t_atomic_type instanceof TNamedObject) {
|
||||
$t_atomic_type = null;
|
||||
|
Loading…
Reference in New Issue
Block a user