From 66927e23df77f0f9d42ba4b58be4c030996d6386 Mon Sep 17 00:00:00 2001 From: Frank de Jonge Date: Wed, 25 Sep 2024 19:49:59 +0200 Subject: [PATCH] Fix type error --- src/Ftp/FtpAdapter.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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);