We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4f3ef commit 89421b4Copy full SHA for 89421b4
src/Model/Traits/CustomerTrait.php
@@ -61,13 +61,13 @@ public function getRelatedCustomerGroups()
61
return [];
62
}
63
64
- public function getProfilingConsent()
+ public function getProfilingConsent(): ?\Pimcore\Model\DataObject\Data\Consent
65
{
66
if (is_callable('parent::getProfilingConsent')) {
67
return parent::getProfilingConsent();
68
69
70
- return true;
+ return null;
71
72
73
/**
@@ -117,7 +117,7 @@ public function needsExportByNewsletterProviderHandler(NewsletterProviderHandler
117
return $this->getPublished() && $this->getActive();
118
119
120
- public function getCustomerLanguage()
+ public function getCustomerLanguage(): ?string
121
122
return null;
123
0 commit comments