From 870595b810f6da3239e15bcaae2fa115478cea17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 12 Jan 2022 17:49:02 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- Base/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/Model.php b/Base/Model.php index 62b50b0..f043c0c 100644 --- a/Base/Model.php +++ b/Base/Model.php @@ -819,7 +819,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T throw new Exception('You need add static method `tableName` and return table name.'); } $table = trim($this->table, '{%}'); - var_dump($this->table, $table); + var_dump($this->table, static::class, $table); if (!empty($tablePrefix) && !str_starts_with($table, $tablePrefix)) { $table = $tablePrefix . $table; }