mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
parent
b2574ad1a3
commit
c3e94b3e54
@ -15,7 +15,6 @@ Generator types support up to four parameters, e.g. `Generator<int, string, mixe
|
||||
3. `TSend`, the type of the `send()` method's parameter - default: `mixed`
|
||||
4. `TReturn`, the return type of the `getReturn()` method - default: `void`
|
||||
|
||||
</>
|
||||
`Generator<int>` is a shorthand for `Generator<mixed, int, mixed, void>`.
|
||||
|
||||
- `Generator<int>` is a shorthand for `Generator<mixed, int, mixed, void>`
|
||||
- `Generator<int, string>` is a shorthand for `Generator<int, string, mixed, void>`
|
||||
`Generator<int, string>` is a shorthand for `Generator<int, string, mixed, void>`.
|
||||
|
Loading…
Reference in New Issue
Block a user