fix various bugs
This commit is contained in:
parent
71eb428bb8
commit
05d8941e8a
3 changed files with 5 additions and 4 deletions
|
@ -310,7 +310,7 @@ class CRM_TwingleCampaign_BAO_TwingleEvent extends Campaign {
|
|||
* @return array
|
||||
* Returns a response array that contains title, id, project_id and status
|
||||
*/
|
||||
public function getResponse(string $status) {
|
||||
public function getResponse(string $status): array {
|
||||
return [
|
||||
'title' => $this->values['description'],
|
||||
'id' => (int) $this->id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue