I don't see the benefits of this `getData` function. You are always going to load a single contact of the table `#__contact_details`. IMO you should do something like:

```php
ModContactsInfoHelper::getContact($contactId);
```