From 07b64d742936c4e7ed5b252e74c4de7ffdd42c4b Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 8 Jul 2013 14:49:00 +0200 Subject: [PATCH] return $this on setPassword --- core/lib/Thelia/Model/Customer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Thelia/Model/Customer.php b/core/lib/Thelia/Model/Customer.php index b9adade3f..5af32a1ab 100644 --- a/core/lib/Thelia/Model/Customer.php +++ b/core/lib/Thelia/Model/Customer.php @@ -105,7 +105,7 @@ class Customer extends BaseCustomer implements UserInterface $this->setAlgo("PASSWORD_BCRYPT"); return parent::setPassword(password_hash($password, PASSWORD_BCRYPT)); } - + return $this; } public function setDispatcher(EventDispatcherInterface $dispatcher)