diff --git a/modules/salesforce_example/src/EventSubscriber/SalesforceExampleSubscriber.php b/modules/salesforce_example/src/EventSubscriber/SalesforceExampleSubscriber.php index 45bbad0301792b4ef5eee03f316e56de6f140cf0..9f67cb5766d49abfa89c06390be13c191c153b9e 100644 --- a/modules/salesforce_example/src/EventSubscriber/SalesforceExampleSubscriber.php +++ b/modules/salesforce_example/src/EventSubscriber/SalesforceExampleSubscriber.php @@ -145,7 +145,7 @@ class SalesforceExampleSubscriber implements EventSubscriberInterface { return; } // If Attachments field was set, it will contain a URL from which we can - // fetch the attached binary. We must append "body" to the retreived URL + // fetch the attached binary. We must append "body" to the retrieved URL // https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_blob_retrieve.htm $attachment_url = $attachments['records'][0]['attributes']['url']; $attachment_url = $client->getInstanceUrl() . $attachment_url . '/Body'; diff --git a/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php b/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php index 322e0651ef351af1525e0c9b9b8010cd279b2293..aa68bd73e900443f4a8789c4aaf15846b7458ed7 100644 --- a/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php +++ b/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php @@ -511,10 +511,10 @@ abstract class SalesforceMappingFieldPluginBase extends PluginBase implements Sa } /** - * Helper to retreive a list of fields for a given object type. + * Helper to retrieve a list of fields for a given object type. * * @param string $sfobject_name - * The object type of whose fields you want to retreive. + * The object type of whose fields you want to retrieve. * * @return array * An array of values keyed by machine name of the field with the label as diff --git a/modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormBase.php b/modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormBase.php index 29378b2d09b9827886c15f6e11b587572bc4ac10..5213f43f43681aa2a60aa9a984014a9c9ba81d61 100644 --- a/modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormBase.php +++ b/modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormBase.php @@ -128,10 +128,10 @@ abstract class SalesforceMappingFormBase extends EntityForm { } /** - * Retreive Salesforce's information about an object type. + * Retrieve Salesforce's information about an object type. * * @param string $salesforce_object_type - * The object type of whose records you want to retreive. + * The object type of whose records you want to retrieve. * * @todo this should move to the Salesforce service * @@ -153,7 +153,7 @@ abstract class SalesforceMappingFormBase extends EntityForm { } /** - * Helper to retreive a list of object type options. + * Helper to retrieve a list of object type options. * * @return array * An array of values keyed by machine name of the object with the label as diff --git a/modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormCrudBase.php b/modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormCrudBase.php index 851e8fe64fdd112091723bab29ede41efc9550d6..ca1554d5309383bc115181ea77f6b9e30e60fb82 100644 --- a/modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormCrudBase.php +++ b/modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormCrudBase.php @@ -464,7 +464,7 @@ abstract class SalesforceMappingFormCrudBase extends SalesforceMappingFormBase { } /** - * Helper to retreive a list of object type options. + * Helper to retrieve a list of object type options. * * @return array * An array of values keyed by machine name of the object with the label as diff --git a/src/Rest/RestClient.php b/src/Rest/RestClient.php index b79b1aa522ec5e30868b0b86bcfc319592efa275..5a743aa9657977e9613f03fb4d5f5b20fbb305e9 100644 --- a/src/Rest/RestClient.php +++ b/src/Rest/RestClient.php @@ -535,7 +535,7 @@ class RestClient implements RestClientInterface { $response = $this->apiCall("sobjects/{$name}/{$key}/{$value}", $params, 'PATCH', TRUE); - // On update, upsert method returns an empty body. Retreive object id, so + // On update, upsert method returns an empty body. Retrieve object id, so // that we can return a consistent response. if ($response->getStatusCode() == 204) { // We need a way to allow callers to distinguish updates and inserts. To