code formatting and smaller errors

This commit is contained in:
Marc Michalsky forumZFD 2020-11-02 17:47:16 +01:00
parent a81eb0c438
commit 937a35e1b8
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
6 changed files with 15 additions and 19 deletions

View file

@ -33,7 +33,7 @@ class TwingleEvent extends Campaign {
$this->className = (new \ReflectionClass($this))->getShortName();
$this->prefix = 'twingle_event_';
$this->values['campaign_type_id'] = 'twingle_event';
// Add value for campaign type
$event['campaign_type_id'] = 'twingle_event';
@ -53,7 +53,7 @@ class TwingleEvent extends Campaign {
* If TRUE, don't do any changes
*
* @return array|null
* Returns a response array that contains title, id, event_id, project_
* Returns a response array that contains title, id, event_id, project_id
* and status or NULL if $values is not an array
*
* @throws CiviCRM_API3_Exception