🧹 code cleanup

This commit is contained in:
Marc Michalsky forumZFD 2021-04-12 11:26:29 +02:00
parent 9b45d4a1fa
commit 2f1e5721c1
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
7 changed files with 18 additions and 36 deletions

View file

@ -677,19 +677,16 @@ class CRM_TwingleCampaign_BAO_TwingleProject extends Campaign {
return $response;
}
/**
* ## Last update
* Returns a timestamp of the last update of the TwingleProject campaign.
*
* @return int|string|null
* @return int|null
*/
public
function lastUpdate(): ?int {
public function lastUpdate(): ?int {
return self::getTimestamp($this->values['last_update']);
}
/**
* ## Get project id
* Returns the **project_id** of this TwingleProject.