Skip to content

Commit b55d79a

Browse files
committed
Add type hints in Url
1 parent d8a17f2 commit b55d79a

File tree

1 file changed

+1
-1
lines changed
  • PHPUnit/Extensions/Selenium2TestCase/SessionCommand

1 file changed

+1
-1
lines changed

PHPUnit/Extensions/Selenium2TestCase/SessionCommand/Url.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class Url extends Command
2020
{
21-
public function __construct($url, $commandUrl, SeleniumURL $baseUrl)
21+
public function __construct(?string $url, URL $commandUrl, SeleniumURL $baseUrl)
2222
{
2323
if ($url !== null) {
2424
$absoluteLocation = $baseUrl->jump($url)->getValue();

0 commit comments

Comments
 (0)