Skip to content

Commit bac2771

Browse files
committed
Remove import on native php class
1 parent 25f6a68 commit bac2771

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Paginator/RawPaginatorAdapter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Elastica\Query;
1515
use Elastica\ResultSet;
1616
use Elastica\SearchableInterface;
17-
use InvalidArgumentException;
1817

1918
/**
2019
* Allows pagination of Elastica\Query. Does not map results.
@@ -166,7 +165,7 @@ protected function getElasticaResults($offset, $itemCountPerPage)
166165
}
167166

168167
if ($itemCountPerPage < 1) {
169-
throw new InvalidArgumentException('$itemCountPerPage must be greater than zero');
168+
throw new \InvalidArgumentException('$itemCountPerPage must be greater than zero');
170169
}
171170

172171
$query = clone $this->query;

0 commit comments

Comments
 (0)