From 39dfb6f1f22c8d03b336e210b90d44020a56e28b Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Tue, 11 Jun 2024 16:17:31 +0200 Subject: [PATCH] Fix static $this bug --- src/Directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directory.php b/src/Directory.php index 627862f..60f527f 100644 --- a/src/Directory.php +++ b/src/Directory.php @@ -44,7 +44,7 @@ public function ls(): PromiseInterface continue; } - $promises[] = $filesystem->detect($this->path . $this->name . DIRECTORY_SEPARATOR . $node); + $promises[] = $filesystem->detect($path . DIRECTORY_SEPARATOR . $node); } return $promises;