Skip to content

Commit

Permalink
fixup! PhpdocTypesOrderFixer - Improve nested types support
Browse files Browse the repository at this point in the history
  • Loading branch information
julienfalque committed Oct 15, 2021
1 parent 93e50ee commit 2e02134
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Fixer/Phpdoc/PhpdocTypesOrderFixerTest.php
Expand Up @@ -171,6 +171,9 @@ public function provideFixCases(): array
[
'<?php /** @var Closure(Iterator<TKey, T>): Generator<int, array<TKey, T>> $pipe */',
],
[
'<?php /** @return Generator<int, Promise<mixed>, mixed, Identity> */',
],
[
'<?php /** @param null|callable(null|foo, null|bar): array<string, T> $callback */',
'<?php /** @param null|callable(foo|null, bar|null): array<string, T> $callback */',
Expand Down

0 comments on commit 2e02134

Please sign in to comment.