Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Sep 27, 2024
1 parent 11d6f6a commit 66927e2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Ftp/FtpAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 66927e2

Please sign in to comment.