File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments