Skip to content

Commit 6499b5f

Browse files
committed
[ci skip] Typo in userguide "Entity Classes - Business Logic"
1 parent acae11b commit 6499b5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/models/entities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Here's an updated User entity to provide some examples of how this could be used
153153
{
154154
public function setPassword(string $pass)
155155
{
156-
$this->password = password_hash($pass, PASSWORD_BCRYPT);
156+
$this->attributes['password'] = password_hash($pass, PASSWORD_BCRYPT);
157157

158158
return $this;
159159
}

0 commit comments

Comments
 (0)