Qual: Spelling for htdocs/[a-b]* (#27422)

Mostly comments, one variable changed from misspelling to .
Also changed CNAT to C.N.A.T in comment to avoid fix from CNAT to CAN'T.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
MDW
2024-01-12 20:58:09 +01:00
committed by GitHub
parent cb2ebb1d56
commit 85ad4ecdf8
57 changed files with 150 additions and 150 deletions

View File

@@ -49,7 +49,7 @@ class Subscriptions extends DolibarrApi
/**
* Get properties of a subscription object
*
* Return an array with subscription informations
* Return an array with subscription information
*
* @param int $id ID of subscription
* @return Object Object with cleaned properties
@@ -81,7 +81,7 @@ class Subscriptions extends DolibarrApi
* @param int $limit Limit for list
* @param int $page Page number
* @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.ref:like:'SO-%') and (t.import_key:<:'20160101')"
* @param string $properties Restrict the data returned to theses properties. Ignored if empty. Comma separated list of properties names
* @param string $properties Restrict the data returned to these properties. Ignored if empty. Comma separated list of properties names
* @return array Array of subscription objects
*
* @throws RestException
@@ -154,7 +154,7 @@ class Subscriptions extends DolibarrApi
$subscription = new Subscription($this->db);
foreach ($request_data as $field => $value) {
if ($field === 'caller') {
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again whith the caller
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller
$subscription->context['caller'] = $request_data['caller'];
continue;
}
@@ -191,7 +191,7 @@ class Subscriptions extends DolibarrApi
continue;
}
if ($field === 'caller') {
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again whith the caller
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller
$subscription->context['caller'] = $request_data['caller'];
continue;
}