diff --git a/src/PhpseclibV2/SftpAdapter.php b/src/PhpseclibV2/SftpAdapter.php index aa2cf8049..b980ca3ab 100644 --- a/src/PhpseclibV2/SftpAdapter.php +++ b/src/PhpseclibV2/SftpAdapter.php @@ -204,7 +204,7 @@ public function deleteDirectory(string $path): void public function createDirectory(string $path, Config $config): void { - $this->makeDirectory($path, $config->get(Config::OPTION_VISIBILITY)); + $this->makeDirectory($path, $config->get(Config::OPTION_DIRECTORY_VISIBILITY)); } public function setVisibility(string $path, string $visibility): void diff --git a/src/PhpseclibV3/README.md b/src/PhpseclibV3/README.md index ebf03100b..add4669d9 100644 --- a/src/PhpseclibV3/README.md +++ b/src/PhpseclibV3/README.md @@ -4,4 +4,4 @@ composer require league/flysystem-sftp-v3 ``` -View the [documentation](https://flysystem.thephpleague.com/v2/docs/adapter/sftp-v3/). +View the [documentation](https://flysystem.thephpleague.com/v2/docs/adapter/sftp).