Skip to content

Commit 656af0a

Browse files
committed
test: fix @param types
1 parent 859060b commit 656af0a

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

tests/system/HTTP/URITest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ public function invalidPaths()
345345
/**
346346
* @dataProvider invalidPaths
347347
*
348-
* @param mixed $path
349-
* @param mixed $expected
348+
* @param string $path
349+
* @param string $expected
350350
*/
351351
public function testPathGetsFiltered($path, $expected)
352352
{
@@ -461,8 +461,8 @@ public function authorityInfo()
461461
/**
462462
* @dataProvider authorityInfo
463463
*
464-
* @param mixed $url
465-
* @param mixed $expected
464+
* @param string $url
465+
* @param string $expected
466466
*/
467467
public function testAuthorityReturnsExceptedValues($url, $expected)
468468
{
@@ -488,8 +488,8 @@ public function defaultPorts()
488488
/**
489489
* @dataProvider defaultPorts
490490
*
491-
* @param mixed $scheme
492-
* @param mixed $port
491+
* @param string $scheme
492+
* @param int $port
493493
*/
494494
public function testAuthorityRemovesDefaultPorts($scheme, $port)
495495
{
@@ -611,8 +611,8 @@ public function defaultDots()
611611
/**
612612
* @dataProvider defaultDots
613613
*
614-
* @param mixed $path
615-
* @param mixed $expected
614+
* @param string $path
615+
* @param string $expected
616616
*/
617617
public function testRemoveDotSegments($path, $expected)
618618
{
@@ -652,8 +652,8 @@ public function defaultResolutions()
652652
/**
653653
* @dataProvider defaultResolutions
654654
*
655-
* @param mixed $rel
656-
* @param mixed $expected
655+
* @param string $rel
656+
* @param string $expected
657657
*/
658658
public function testResolveRelativeURI($rel, $expected)
659659
{
@@ -669,8 +669,8 @@ public function testResolveRelativeURI($rel, $expected)
669669
/**
670670
* @dataProvider defaultResolutions
671671
*
672-
* @param mixed $rel
673-
* @param mixed $expected
672+
* @param string $rel
673+
* @param string $expected
674674
*/
675675
public function testResolveRelativeURIHTTPS($rel, $expected)
676676
{

0 commit comments

Comments
 (0)