From 552261f03fb8a9b6bd98158534338249687eebcd Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 21 May 2024 04:29:54 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Trait/ArrayAccessTrait.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Trait/ArrayAccessTrait.php b/src/Trait/ArrayAccessTrait.php index 9f56ab744..7d7c5e961 100644 --- a/src/Trait/ArrayAccessTrait.php +++ b/src/Trait/ArrayAccessTrait.php @@ -7,7 +7,6 @@ use InvalidArgumentException; use Yiisoft\ActiveRecord\ActiveRecordInterface; -use function get_class; use function get_object_vars; use function property_exists; @@ -108,7 +107,7 @@ public function offsetSet(mixed $offset, mixed $value): void return; } - throw new InvalidArgumentException('Setting unknown property: ' . get_class($this) . '::' . $offset); + throw new InvalidArgumentException('Setting unknown property: ' . static::class . '::' . $offset); } /**