diff --git a/src/Model/Customer.php b/src/Model/Customer.php index 01c267a3..b57ef8f6 100644 --- a/src/Model/Customer.php +++ b/src/Model/Customer.php @@ -20,11 +20,8 @@ class Customer extends \Pimcore\Model\DataObject\Customer implements SsoAwareCustomerInterface, PasswordRecoveryInterface { - /** - * @return bool - */ public function getProfilingConsent(): ?\Pimcore\Model\DataObject\Data\Consent { - return $this->getProfiling() ? $this->getProfiling()->getConsent() : false; + return $this->getProfiling() ? $this->getProfiling()->getConsent() : null; } }