X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fpq-gateway;a=blobdiff_plain;f=lib%2Fpq%2FGateway%2FRowset.php;h=c0a337088ee6da3391c3ca53d6326367ec1692c4;hp=7c0a3c23395f56428d9c1506dfdc5f86ef089459;hb=eb9591d498ac4a2a448d6021c804b3c41d1c7247;hpb=dc87da9c4ec52918e34f2e43eac3014f0f99a8bc 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]; }