规范代码

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 DataNotFoundException extends DbException
class DataNotFoundException extends DbException
{
protected $table;
@@ -23,10 +23,10 @@ class DataNotFoundException extends DbException
* @param string $table
* @param array $config
*/
public function __construct($message, $table = '', Array $config = [])
public function __construct($message, $table = '', array $config = [])
{
$this->message = $message;
$this->table = $table;
$this->message = $message;
$this->table = $table;
$this->setData('Database Config', $config);
}