This commit is contained in:
James Brooks
2014-11-22 22:59:41 +00:00
parent 784b0df10c
commit 18fa32b57b

View File

@@ -1,7 +1,5 @@
<?php
use \BadConfigKeyException;
class Setting extends Eloquent {
/**
* Returns a setting from the database.
@@ -31,13 +29,13 @@
}
/**
* Throws an BadConfigKeyException
* Throws an Exception
* @param string $setting
* @throws BadConfigKeyException
* @throws Exception
* @return void
*/
public static function unknownSettingException($setting) {
throw new BadConfigKeyException(
throw new \Exception(
sprintf('Unknown setting %s', $settingName)
);
}