Skip to content

Commit b352d25

Browse files
committed
Improve
1 parent 6404428 commit b352d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractActiveRecord.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ public function populateRelation(string $name, array|ActiveRecordInterface|null
554554
*/
555555
public function refresh(): bool
556556
{
557-
$record = $this->query($this)->findByPk($this->getPrimaryKey(true));
557+
$record = $this->query()->findByPk($this->getPrimaryKey(true));
558558

559559
return $this->refreshInternal($record);
560560
}

0 commit comments

Comments
 (0)