fix:修复BUG/升级1.1.6版本

This commit is contained in:
Ying
2023-04-25 20:11:49 +08:00
parent 445e5f9662
commit 6a6866bbaf
2357 changed files with 456920 additions and 140567 deletions

View File

@@ -1,4 +1,5 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
@@ -8,25 +9,25 @@
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
declare (strict_types=1);
declare(strict_types=1);
namespace think;
/**
* 异常基础类
* @package think
* 异常基础类.
*/
class Exception extends \Exception
{
/**
* 保存异常页面显示的额外Debug数据
* 保存异常页面显示的额外Debug数据.
*
* @var array
*/
protected $data = [];
/**
* 设置异常额外的Debug数据
* 数据将会显示为下面的格式
* 数据将会显示为下面的格式.
*
* Exception Data
* --------------------------------------------------
@@ -37,7 +38,6 @@ class Exception extends \Exception
* key1 value1
* key2 value2
*
* @access protected
* @param string $label 数据分类,用于异常页面显示
* @param array $data 需要显示的数据,必须为关联数组
*/
@@ -48,8 +48,8 @@ class Exception extends \Exception
/**
* 获取异常额外Debug数据
* 主要用于输出到异常页面便于调试
* @access public
* 主要用于输出到异常页面便于调试.
*
* @return array 由setData设置的Debug数据
*/
final public function getData()