From 7a9aca90ad8b4fb54adc3cc1c86ba366aedbc2ab Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 11 Sep 2024 05:53:16 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/ActiveRecordInterface.php | 3 +-- src/Trait/ArrayAccessTrait.php | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ActiveRecordInterface.php b/src/ActiveRecordInterface.php index cd09ce1aa..9f998d2c3 100644 --- a/src/ActiveRecordInterface.php +++ b/src/ActiveRecordInterface.php @@ -138,10 +138,9 @@ public function get(string $name): mixed; * properties listed in {@see properties()} will be returned. * @param array $except List of property names whose value shouldn't be returned. * - * @return array Property values (name => value). *@throws Exception - * * @throws InvalidConfigException + * @return array Property values (name => value). */ public function values(array|null $names = null, array $except = []): array; diff --git a/src/Trait/ArrayAccessTrait.php b/src/Trait/ArrayAccessTrait.php index a1c275bae..705582c94 100644 --- a/src/Trait/ArrayAccessTrait.php +++ b/src/Trait/ArrayAccessTrait.php @@ -7,7 +7,6 @@ use InvalidArgumentException; use Yiisoft\ActiveRecord\ActiveRecordInterface; -use function get_object_vars; use function is_array; use function property_exists;