diff --git a/src/Driver/CoreDriver.php b/src/Driver/CoreDriver.php index a54fbd9ff..a5940ff91 100644 --- a/src/Driver/CoreDriver.php +++ b/src/Driver/CoreDriver.php @@ -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); }