Skip to content

Commit

Permalink
Merge 72d226c into e571a26
Browse files Browse the repository at this point in the history
  • Loading branch information
larowlan committed Aug 9, 2019
2 parents e571a26 + 72d226c commit b31bdf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Stream/ReadOnlyFile.php
Expand Up @@ -148,6 +148,10 @@ public function close(): void
*/
public function getHash(): string
{
if ($this->hash) {
$this->toctouTest();
return $this->hash;
}
$init = $this->pos;
\fseek($this->fp, 0, SEEK_SET);

Expand Down

0 comments on commit b31bdf3

Please sign in to comment.