mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-03-03 02:47:02 +00:00
Explicit cast to int
This commit is contained in:
@@ -225,7 +225,7 @@ class CompanyTransformer extends EntityTransformer
|
||||
'e_invoice' => $company->e_invoice ?: new \stdClass(),
|
||||
'has_quickbooks_token' => $company->quickbooks ? true : false,
|
||||
'is_quickbooks_token_active' => $company->quickbooks?->accessTokenKey ?? false,
|
||||
'legal_entity_id' => $company->legal_entity_id ?? null,
|
||||
'legal_entity_id' => (int) $company->legal_entity_id ?? null,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user