Qual: Spelling htdocs/[l-o]* & htdocs/pa* (#27435)

# Qual: Fix spelling htdocs/[l-o]* & htdocs/pa*

Mostly comments, some local variables changed and translations to avoid
automatic fixes.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
MDW
2024-01-12 18:06:50 +01:00
committed by GitHub
parent 85b7dfbf73
commit 591306d7b1
49 changed files with 132 additions and 131 deletions

View File

@@ -59,7 +59,7 @@ class MyModuleApi extends DolibarrApi
/**
* Get properties of a myobject object
*
* Return an array with myobject informations
* Return an array with myobject information
*
* @param int $id ID of myobject
* @return Object Object with cleaned properties
@@ -203,7 +203,7 @@ class MyModuleApi extends DolibarrApi
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
$this->myobject->context['caller'] = $request_data['caller'];
continue;
}
@@ -251,7 +251,7 @@ class MyModuleApi 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
$this->myobject->context['caller'] = $request_data['caller'];
continue;
}