@@ -56,9 +56,7 @@ public function it_accepts_domain_names_with_known_suffix(string $name): void
5656 $ this ->assertNoViolation ();
5757 }
5858
59- /**
60- * @return \Generator<int, array{0: string}>
61- */
59+ /** @return \Generator<int, array{0: string}> */
6260 public static function provideIt_accepts_domain_names_with_known_suffixCases (): iterable
6361 {
6462 yield ['example.com ' ];
@@ -76,9 +74,7 @@ public function it_accepts_domain_names_with_known_suffix_and_private(string $na
7674 $ this ->assertNoViolation ();
7775 }
7876
79- /**
80- * @return \Generator<int, array{0: string}>
81- */
77+ /** @return \Generator<int, array{0: string}> */
8278 public static function provideIt_accepts_domain_names_with_known_suffix_and_privateCases (): iterable
8379 {
8480 yield ['example.com ' ];
@@ -103,9 +99,7 @@ public function it_rejects_domain_names_with_private_suffix(string $name): void
10399 ->assertRaised ();
104100 }
105101
106- /**
107- * @return \Generator<int, array{0: string}>
108- */
102+ /** @return \Generator<int, array{0: string}> */
109103 public static function provideIt_rejects_domain_names_with_private_suffixCases (): iterable
110104 {
111105 yield ['example.github.io ' ];
@@ -133,9 +127,7 @@ public function it_rejects_domain_name_with_path_exceeding_registrable(string $n
133127 ->assertRaised ();
134128 }
135129
136- /**
137- * @return \Generator<int, array{0: string, 1: string}>
138- */
130+ /** @return \Generator<int, array{0: string, 1: string}> */
139131 public static function provideIt_rejects_domain_name_with_path_exceeding_registrableCases (): iterable
140132 {
141133 yield ['example.no.co.uk ' , 'no.co.uk ' ];
@@ -154,9 +146,7 @@ public function it_rejects_domain_name_when_failed_to_parse(string $name): void
154146 ->assertRaised ();
155147 }
156148
157- /**
158- * @return \Generator<int, array{0: string}>
159- */
149+ /** @return \Generator<int, array{0: string}> */
160150 public static function provideIt_rejects_domain_name_when_failed_to_parseCases (): iterable
161151 {
162152 yield ['xn--94823482.nl ' ]; // invalid IDN, which is actually thrown during the resolver phase
0 commit comments