From 2b82b2bc31b247fbb2400f12180b20a33bb84e59 Mon Sep 17 00:00:00 2001 From: niqingyang Date: Sun, 10 Dec 2023 15:41:34 +0800 Subject: [PATCH] implement the interface ArrayableInterface for BaseActiveRecord --- src/ActiveRecordInterface.php | 1 - src/BaseActiveRecord.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/ActiveRecordInterface.php b/src/ActiveRecordInterface.php index 76f96cdaa..6752b1992 100644 --- a/src/ActiveRecordInterface.php +++ b/src/ActiveRecordInterface.php @@ -4,7 +4,6 @@ namespace Yiisoft\ActiveRecord; -use Closure; use Throwable; use Yiisoft\Arrays\ArrayableInterface; use Yiisoft\Db\Exception\Exception; diff --git a/src/BaseActiveRecord.php b/src/BaseActiveRecord.php index de49ac475..448e32706 100644 --- a/src/BaseActiveRecord.php +++ b/src/BaseActiveRecord.php @@ -9,9 +9,7 @@ use IteratorAggregate; use ReflectionException; use Throwable; -use Yiisoft\Arrays\ArrayableInterface; use Yiisoft\Arrays\ArrayableTrait; -use Yiisoft\Arrays\ArrayHelper; use Yiisoft\Db\Connection\ConnectionInterface; use Yiisoft\Db\Exception\Exception; use Yiisoft\Db\Exception\InvalidArgumentException;