Update getCustomerCache return type to xlvask_customer for stricter type handling and remove redundant newlines in xlvask_tasks.php

This commit is contained in:
Jepp9350
2025-06-03 13:56:00 +02:00
parent 0e82d9a7bf
commit 90823c4983
2 changed files with 1 additions and 3 deletions
@@ -146,8 +146,6 @@ class xlvask_tasks
//echo 'MISSING USER: ' . $customer->name . ' (' . $customer->externId . ')' . PHP_EOL;
}
}
return $with_external_id; // Return the synchronized customers
}
@@ -20,7 +20,7 @@ interface xlvask_cache_i
* @return object The cached customer object.
* @throws Exception If the customer is not cached.
*/
public function getCustomerCache(int $customer_number): object;
public function getCustomerCache(int $customer_number): xlvask_customer;
/**
* Set the cache for a specific customer.