return $this on setPassword

This commit is contained in:
Manuel Raynaud
2013-07-08 14:49:00 +02:00
parent b130abb9c3
commit 07b64d7429

View File

@@ -105,7 +105,7 @@ class Customer extends BaseCustomer implements UserInterface
$this->setAlgo("PASSWORD_BCRYPT"); $this->setAlgo("PASSWORD_BCRYPT");
return parent::setPassword(password_hash($password, PASSWORD_BCRYPT)); return parent::setPassword(password_hash($password, PASSWORD_BCRYPT));
} }
return $this;
} }
public function setDispatcher(EventDispatcherInterface $dispatcher) public function setDispatcher(EventDispatcherInterface $dispatcher)