mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Add content from redundant page
This commit is contained in:
parent
3ecd6bbd00
commit
500b4eb13b
@ -6,7 +6,11 @@ Types are used to describe acceptable values for properties, variables, function
|
||||
|
||||
## Docblock Type Syntax
|
||||
|
||||
Psalm allows you to express a lot of complicated type information. [See this guide](docblock_type_syntax.md) for a detailed list of supported types.
|
||||
Psalm allows you to express a lot of complicated type information in docblocks.
|
||||
|
||||
All docblock types are either [atomic types](type_syntax/atomic_types.md), [union types](type_syntax/union_types.md) or [intersection types](type_syntax/intersection_types.md).
|
||||
|
||||
Additionally Psalm supports PHPDoc’s [type syntax](https://docs.phpdoc.org/guides/types.html), and also the [proposed PHPDoc PSR type syntax](https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc.md#appendix-a-types).
|
||||
|
||||
## Property declaration types vs Assignment typehints
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user