diff --git a/src/UpdateCommand.php b/src/UpdateCommand.php index eae3f46..5e6f5ed 100644 --- a/src/UpdateCommand.php +++ b/src/UpdateCommand.php @@ -298,7 +298,7 @@ protected function download($version, $os) */ protected function extract($version, $archive) { - $zip = new ZipArchive; + $zip = new ZipArchive(); $zip->open($archive); diff --git a/tests/UpdateTest.php b/tests/UpdateTest.php index 0541779..ff3b680 100644 --- a/tests/UpdateTest.php +++ b/tests/UpdateTest.php @@ -125,7 +125,7 @@ protected function chromeVersion() * @param int|null $major * @return string */ - protected function driverVersion($major = null) + protected function driverVersion(int $major = null) { if (is_null($major)) { $versions = json_decode(