Cast the result value to int

This commit is contained in:
Alex Tselegidis 2023-07-17 14:17:37 +02:00
parent 2f1e07bda2
commit 5bea235ec8
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ class Customers_model extends EA_Model {
throw new InvalidArgumentException('Could not find customer record id.'); throw new InvalidArgumentException('Could not find customer record id.');
} }
return $customer['id']; return (int)$customer['id'];
} }
/** /**