Skip to content

Commit 7bb57b5

Browse files
authored
Fixed typo in streamRead exception text
Fixed typo in streamRead exception text.
1 parent ea64d82 commit 7bb57b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ public function streamWrite(Stream $stream, string $sql, array $bind = [])
665665
public function streamRead(Stream $streamRead, string $sql, array $bind = [])
666666
{
667667
if ($this->getCountPendingQueue() > 0) {
668-
throw new QueryException('Queue must be empty, before streamWrite');
668+
throw new QueryException('Queue must be empty, before streamRead');
669669
}
670670

671671
return $this->transport()->streamRead($streamRead, $sql, $bind);

0 commit comments

Comments
 (0)