Skip to content

Commit

Permalink
MDL-58624 persistent: Use correct namespace for exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitagarwal committed Apr 18, 2017
1 parent 0714bcb commit f939ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion competency/classes/persistent.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ final public function __call($method, $arguments) {
} else if (strpos($method, 'set_') === 0) {
return $this->set(substr($method, 4), $arguments[0]);
}
throw new coding_exception('Unexpected method call: ' . $method);
throw new \coding_exception('Unexpected method call: ' . $method);
}

}

0 comments on commit f939ae1

Please sign in to comment.