From 6499b5f294c7f74425c475379165c96bcea052ad Mon Sep 17 00:00:00 2001 From: Johan Eklund Date: Sun, 26 Jan 2020 12:30:30 +0100 Subject: [PATCH] [ci skip] Typo in userguide "Entity Classes - Business Logic" --- user_guide_src/source/models/entities.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/models/entities.rst b/user_guide_src/source/models/entities.rst index 22a81e192784..623fc10bf7b0 100644 --- a/user_guide_src/source/models/entities.rst +++ b/user_guide_src/source/models/entities.rst @@ -153,7 +153,7 @@ Here's an updated User entity to provide some examples of how this could be used { public function setPassword(string $pass) { - $this->password = password_hash($pass, PASSWORD_BCRYPT); + $this->attributes['password'] = password_hash($pass, PASSWORD_BCRYPT); return $this; }