Skip to content

Commit 66cfc42

Browse files
authored
Merge pull request #4 from reactphp-parallel/fix-static-this-bug-1
Fix static $this bug
2 parents 60688f6 + 39dfb6f commit 66cfc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Directory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function ls(): PromiseInterface
4444
continue;
4545
}
4646

47-
$promises[] = $filesystem->detect($this->path . $this->name . DIRECTORY_SEPARATOR . $node);
47+
$promises[] = $filesystem->detect($path . DIRECTORY_SEPARATOR . $node);
4848
}
4949

5050
return $promises;

0 commit comments

Comments
 (0)