Skip to content

Commit 91ceff9

Browse files
committed
test: add return type annotations to hostname test data providers
1 parent 0e00157 commit 91ceff9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎tests/system/Router/RouteCollectionTest.php‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,11 +607,17 @@ public function testHostnameOptionWithPortMatchesCorrectly(
607607
}
608608
}
609609

610+
/**
611+
* @return iterable<string, array{string, string, bool}>
612+
*/
610613
public static function provideHostnameOptionWithPortMatchesCorrectly(): iterable
611614
{
612615
yield from self::provideHostnameWithPortCases();
613616
}
614617

618+
/**
619+
* @return iterable<string, array{string, string, bool}>
620+
*/
615621
public static function provideHostnameWithPortCases(): iterable
616622
{
617623
yield 'domain with dev port' => [

0 commit comments

Comments
 (0)