Skip to content

Commit

Permalink
Fixed some warnings in parquet library (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Nov 21, 2023
1 parent 95b4ded commit 8f560a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function flush() : void
@\fflush($this->stream);
}

public function isOpen()
public function isOpen() : bool
{
return \is_resource($this->stream);
}
Expand All @@ -49,7 +49,7 @@ public function open() : void
}
}

public function read($len)
public function read($len) : string
{
$data = @\fread($this->stream, $len);

Expand Down

0 comments on commit 8f560a1

Please sign in to comment.