Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed May 21, 2024
1 parent 9b70a34 commit 552261f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Trait/ArrayAccessTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use InvalidArgumentException;
use Yiisoft\ActiveRecord\ActiveRecordInterface;

use function get_class;
use function get_object_vars;
use function property_exists;

Expand Down Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 552261f

Please sign in to comment.