Skip to content

Commit

Permalink
Adjust the type hint order fixer test
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Jan 30, 2024
1 parent 3d84859 commit 9ee9d3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Fixer/TypeHintOrderFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function getCodeSamples(): \Generator
interface FooInterface
{
public function bar(object|FooService|BarService $service, iterable|int $count): null|string|int;
public function bar(object|FooService|BarService $service, iterable|int $count): ?string;
}
class Foo implements FooInterface
Expand Down Expand Up @@ -67,7 +67,7 @@ public function bar(object|FooService|BarService $service, iterable|int $count):
interface FooInterface
{
public function bar(BarService|FooService|object $service, int|iterable $count): int|string|null;
public function bar(BarService|FooService|object $service, int|iterable $count): string|null;
}
class Foo implements FooInterface
Expand Down

0 comments on commit 9ee9d3b

Please sign in to comment.