diff --git a/src/Ftp/FtpAdapter.php b/src/Ftp/FtpAdapter.php index c3e06aec7..a05fab996 100644 --- a/src/Ftp/FtpAdapter.php +++ b/src/Ftp/FtpAdapter.php @@ -214,10 +214,7 @@ public function delete(string $path): void $this->deleteFile($path, $connection); } - /** - * @param resource $connection - */ - private function deleteFile(string $path, $connection): void + private function deleteFile(string $path, Connection $connection): void { $location = $this->prefixer()->prefixPath($path); $success = @ftp_delete($connection, $location);