Skip to content

Commit 9a348c1

Browse files
committed
🚿
1 parent e284c7e commit 9a348c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Psr7/UriTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function getValidUris():array{
8787
/**
8888
* @dataProvider getValidUris
8989
*
90-
* @param $input
90+
* @param string $input
9191
*/
9292
public function testValidUrisStayValid(string $input):void{
9393
$this::assertSame($input, (string)(new Uri($input)));
@@ -96,10 +96,10 @@ public function testValidUrisStayValid(string $input):void{
9696
/**
9797
* @dataProvider getValidUris
9898
*
99-
* @param $input
99+
* @param string $input
100100
*/
101-
public function testFromParts($input){
102-
$this::assertSame($input, (string)UriExtended::fromParts(parse_url($input)));
101+
public function testFromParts(string $input){
102+
$this::assertSame($input, (string)(new Uri(parse_url($input))));
103103
}
104104

105105
public function getInvalidUris():array{

0 commit comments

Comments
 (0)