Skip to content
Snippets Groups Projects
Commit 7e07b8b2 authored by Luca Stockmann's avatar Luca Stockmann Committed by Aaron Bauman
Browse files

Issue #3222940 by lucastockmann: Salesforce Mapping: Wrong use of short if statement

parent 43299427
No related branches found
No related tags found
No related merge requests found
......@@ -565,7 +565,7 @@ class SalesforceMapping extends ConfigEntityBase implements SalesforceMappingInt
* {@inheritdoc}
*/
public function getLastDeleteTime() {
return $this->pull_info['last_delete_timestamp'] ? $this->pull_info['last_delete_timestamp'] : NULL;
return $this->pull_info['last_delete_timestamp'] ?? NULL;
}
/**
......@@ -579,7 +579,7 @@ class SalesforceMapping extends ConfigEntityBase implements SalesforceMappingInt
* {@inheritdoc}
*/
public function getLastPullTime() {
return $this->pull_info['last_pull_timestamp'] ? $this->pull_info['last_pull_timestamp'] : NULL;
return $this->pull_info['last_pull_timestamp'] ?? NULL;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment