1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
This commit is contained in:
Matthew Brown 2019-06-09 01:05:03 -04:00
parent 7a1a728cee
commit a2f444f1b9

View File

@ -4,7 +4,7 @@ Psalm's type system represents the types of variables within a program using dif
## Union types
All type Psalm's type information you are likely to use will be wrapped in a [Union Type](../annotating_code/docblock_type_syntax.md#union-types).
All type Psalm's type information you are likely to use will be wrapped in a [Union Type](../../annotating_code/docblock_type_syntax.md#union-types).
The `Union` class constructor takes an array of `Atomic` types, and can represent one or more of these types at a time. They correspond to a vertical bar in a doc comment.