️ implement validation of TwingleProject settings

This commit is contained in:
Marc Michalsky forumZFD 2021-04-13 01:05:57 +02:00
parent 060f7ec2dc
commit 34e2e77d83
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
7 changed files with 652 additions and 183 deletions

View file

@ -33,7 +33,7 @@ abstract class CRM_TwingleCampaign_BAO_Campaign {
* @param array $values
* @param int|null $id
*/
protected function __construct(array $values, int $id = NULL) {
protected function __construct(array $values = [], int $id = NULL) {
$this->id = $id;
$tmpClassName = explode('_', get_class($this));