Skip to content

Commit

Permalink
Fix Opening Customers menu item produces error
Browse files Browse the repository at this point in the history
resolves  #267
  • Loading branch information
dvesh3 authored and brusch committed Nov 15, 2021
1 parent c1c5367 commit f4c4166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Customer extends \Pimcore\Model\DataObject\Customer implements SsoAwareCus
/**
* @return bool
*/
public function getProfilingConsent()
public function getProfilingConsent(): ?\Pimcore\Model\DataObject\Data\Consent
{
return $this->getProfiling() ? $this->getProfiling()->getConsent() : false;
}
Expand Down

0 comments on commit f4c4166

Please sign in to comment.