规范代码

This commit is contained in:
thinkphp
2016-12-24 21:44:12 +08:00
parent 43b364e286
commit 18f8ee155d
5 changed files with 12 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ namespace think\db\exception;
use think\exception\DbException;
class ModelNotFoundException extends DbException
class ModelNotFoundException extends DbException
{
protected $model;
@@ -22,10 +22,10 @@ class ModelNotFoundException extends DbException
* @param string $message
* @param string $model
*/
public function __construct($message, $model = '', Array $config = [])
public function __construct($message, $model = '', array $config = [])
{
$this->message = $message;
$this->model = $model;
$this->message = $message;
$this->model = $model;
$this->setData('Database Config', $config);
}