Skip to content

Commit 4601d2f

Browse files
authored
feat: client->getFolderPath return null if folder is not set. (Webklex#506)
* feat: client->getFolderPath return null if folder is not set. * docs: update comment
1 parent af752f3 commit 4601d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,9 @@ public function checkFolder(string $folder_path): array {
773773
/**
774774
* Get the current active folder
775775
*
776-
* @return string
776+
* @return null|string
777777
*/
778-
public function getFolderPath(): string {
778+
public function getFolderPath(): ?string {
779779
return $this->active_folder;
780780
}
781781

0 commit comments

Comments
 (0)