Skip to content

Commit

Permalink
Add a missing type in CoreDriver
Browse files Browse the repository at this point in the history
Adding the same type than in DriverInterface allows drivers to add it.
  • Loading branch information
stof committed Jun 15, 2023
1 parent 9ea43c2 commit 0301360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Driver/CoreDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public function rightClick(string $xpath)
* @throws UnsupportedDriverActionException When operation not supported by the driver
* @throws DriverException When the operation cannot be done
*/
public function attachFile(string $xpath, $path)
public function attachFile(string $xpath, string $path)
{
throw new UnsupportedDriverActionException('Attaching a file in an input is not supported by %s', $this);
}
Expand Down

0 comments on commit 0301360

Please sign in to comment.