Skip to content

Commit

Permalink
Change $this->name to $this->getAttribute('name')
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Dec 16, 2023
1 parent 1af8993 commit 4a65d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Stubs/ActiveRecord/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function getTableName(): string

public function getName(): string
{
return $this->name;
return $this->getAttribute('name');
}

public function getProfile(): ActiveQuery
Expand Down

0 comments on commit 4a65d01

Please sign in to comment.