Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-04 17:27:37 +08:00
parent 06c9459f14
commit 45319c3733
10 changed files with 171 additions and 26 deletions
+1 -3
View File
@@ -21,6 +21,7 @@ class Dtl extends Component
/**
* Dtl constructor.
* @param $params
* @throws Exception
*/
public function __construct($params)
{
@@ -35,9 +36,6 @@ class Dtl extends Component
*/
public function toArray(): array
{
if (!is_array($this->params)) {
return ArrayAccess::toArray($this->params);
}
return $this->params;
}