mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix array_unique flag
This commit is contained in:
parent
05547291c2
commit
a18dd1a304
@ -424,7 +424,7 @@ class Union implements TypeNode
|
||||
}
|
||||
|
||||
sort($types);
|
||||
return implode('|', array_unique($types));
|
||||
return implode('|', \array_unique($types));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user