From 3b31f39bf3d9a624f647fb63d814f6c7b522b60e Mon Sep 17 00:00:00 2001 From: Arnaud Lemercier Date: Wed, 31 Jul 2024 19:29:57 +0000 Subject: [PATCH 1/2] feat: client->getFolderPath return null if folder is not set. --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 2ec9ebd9..894da97d 100755 --- a/src/Client.php +++ b/src/Client.php @@ -775,7 +775,7 @@ public function checkFolder(string $folder_path): array { * * @return string */ - public function getFolderPath(): string { + public function getFolderPath(): ?string { return $this->active_folder; } From d4b47c7dc96dfc872dce03e7bbd4e45108eb850f Mon Sep 17 00:00:00 2001 From: Arnaud Lemercier Date: Wed, 31 Jul 2024 19:35:23 +0000 Subject: [PATCH 2/2] docs: update comment --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 894da97d..94ca0106 100755 --- a/src/Client.php +++ b/src/Client.php @@ -773,7 +773,7 @@ public function checkFolder(string $folder_path): array { /** * Get the current active folder * - * @return string + * @return null|string */ public function getFolderPath(): ?string { return $this->active_folder;