Skip to content

Commit 1779076

Browse files
committed
Remove unnecessary processing in setRawAttributes
1 parent 2baf4e6 commit 1779076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ protected function performInsert(): void
984984
// attributes have been given empty or null values.
985985
$this->dn = $query->insertAndGetDn($this->getDn(), $attributes);
986986

987-
$this->setRawAttributes($attributes);
987+
$this->attributes = $attributes;
988988

989989
$this->dispatch('created');
990990

0 commit comments

Comments
 (0)