Permalink
Browse files

Exception correct class name

  • Loading branch information...
1 parent db96098 commit e8f85ddea7c574991a597b8a386e1ebfe72666d6 Giorgio Sironi committed Mar 9, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Recruiter/Job/Repository.php
@@ -36,7 +36,7 @@ public function scheduled($id)
{
$found = $this->map($this->scheduled->find(['_id' => $id]));
if (count($found) === 0) {
- throw new Exception("Unable to find scheduled job with ObjectId('{$id}')");
+ throw new \Exception("Unable to find scheduled job with ObjectId('{$id}')");
}
return $found[0];
}

0 comments on commit e8f85dd

Please sign in to comment.