From 03013600f8710e5529827efa17fbb13dbd442e4f Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 15 Jun 2023 15:21:10 +0200 Subject: [PATCH] Add a missing type in CoreDriver Adding the same type than in DriverInterface allows drivers to add it. --- src/Driver/CoreDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }