Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Commit

Permalink
Fix incaomptible return type for writeAsync in hsl-experimental master
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed May 4, 2020
1 parent 38922dc commit 8ef10db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TestLib/StringOutput.hack
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ final class StringOutput implements IO\WriteHandle, IO\UserspaceHandle {
public async function writeAsync(
string $data,
?num $_timeout_mixed = null,
): Awaitable<void> {
$this->buffer .= $data;
): Awaitable<int> {
return $this->write($data);
}

public function isEndOfFile(): bool {
Expand Down

0 comments on commit 8ef10db

Please sign in to comment.