X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=lib%2Fpq%2FGateway%2FRowset.php;h=c0a337088ee6da3391c3ca53d6326367ec1692c4;hb=b39e14404cfeac177d41b152690b6adbb2b1e4bf;hp=7c0a3c23395f56428d9c1506dfdc5f86ef089459;hpb=89caabf7e3ebc62190fccba97e3bc11f7f32b58c;p=m6w6%2Fpq-gateway diff --git a/lib/pq/Gateway/Rowset.php b/lib/pq/Gateway/Rowset.php index 7c0a3c2..c0a3370 100644 --- a/lib/pq/Gateway/Rowset.php +++ b/lib/pq/Gateway/Rowset.php @@ -206,7 +206,7 @@ class Rowset implements \SeekableIterator, \Countable, \JsonSerializable */ function current() { if (!$this->valid()) { - throw new OutOfBoundsException("Invalid row index {$this->index}"); + throw new \OutOfBoundsException("Invalid row index {$this->index}"); } return $this->rows[$this->index]; }