diff --git a/CRM/TwingleCampaign/BAO/TwingleEvent.php b/CRM/TwingleCampaign/BAO/TwingleEvent.php index 02090cc..8193ab1 100644 --- a/CRM/TwingleCampaign/BAO/TwingleEvent.php +++ b/CRM/TwingleCampaign/BAO/TwingleEvent.php @@ -28,7 +28,7 @@ class TwingleEvent extends Campaign { * * @throws Exception */ - public function __construct(array $event, string $origin) { + protected function __construct(array $event, string $origin) { parent::__construct($event, $origin); $this->className = (new \ReflectionClass($this))->getShortName(); diff --git a/CRM/TwingleCampaign/BAO/TwingleProject.php b/CRM/TwingleCampaign/BAO/TwingleProject.php index fa9c97f..95a34c1 100644 --- a/CRM/TwingleCampaign/BAO/TwingleProject.php +++ b/CRM/TwingleCampaign/BAO/TwingleProject.php @@ -28,7 +28,7 @@ class TwingleProject extends Campaign { * * @throws Exception */ - public function __construct(array $project, string $origin) { + protected function __construct(array $project, string $origin) { parent::__construct($project, $origin); $this->className = (new \ReflectionClass($this))->getShortName();