From a722f9a05b21f91fedf4ed7d1b6f91cae276ba90 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 13 Aug 2024 10:21:17 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- src/UpdateCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/UpdateCommand.php b/src/UpdateCommand.php index 14092f2..fdd9aab 100644 --- a/src/UpdateCommand.php +++ b/src/UpdateCommand.php @@ -101,6 +101,7 @@ protected function extract(string $version, string $archive): string $zip->extractTo($this->directory); for ($fileIndex = 0; $fileIndex < $zip->numFiles; $fileIndex++) { + /** @var string $filename */ $filename = $zip->getNameIndex($fileIndex); if (Str::startsWith(basename($filename), 'chromedriver')) {