protected function getAddress($data) { if (!$data) { return; } return array_get(array_keys($data), 0, null); }