*
* @param CRM_Core_DAO $targetDao
* The instance for which we want references.
- * @return array
+ * @return array{type: string, count: int}|NULL
* a record describing the reference; must include the keys:
* - 'type': string (not necessarily unique)
* - 'count': int