@@ -37,7 +37,7 @@ |
||
37 | 37 | { |
38 | 38 | $contact = CustomerContacts::where('cont_id', $contID)->with('CustomerContactPhones')->first(); |
39 | 39 | $contactName = explode(' ', $contact->name); |
40 | - $contactDetails = collect( (object) [ |
|
40 | + $contactDetails = collect((object) [ |
|
41 | 41 | 'firstName' => $contactName[0], |
42 | 42 | 'lastName' => isset($contactName[1]) ? $contactName[1] : '', |
43 | 43 | 'email' => $contact->eamil, |