Skip to content

Commit

Permalink
scriptotek#21: root namespace for RuntimeException
Browse files Browse the repository at this point in the history
  • Loading branch information
ctgraham committed Oct 30, 2020
1 parent 5bc6097 commit 866ee0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/SimplePaginatedList.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function count()
public function setPaginationLimit($limit)
{
if ((int)$limit < 0 || (int)$limit > 100) {
throw new RuntimeException('Invalid limit value (0 - 100): '.$limit);
throw new \RuntimeException('Invalid limit value (0 - 100): '.$limit);
}
$this->limit = (int) $limit;
}
Expand Down

0 comments on commit 866ee0b

Please sign in to comment.