Skip to content

Commit 5143f50

Browse files
[HIA-390]
Formatting from ktlint
1 parent 1a5c481 commit 5143f50

File tree

5 files changed

+257
-257
lines changed

5 files changed

+257
-257
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package uk.gov.justice.digital.hmpps.hmppsintegrationapi.models.hmpps
22

3-
data class ContactDetails (
3+
data class ContactDetails(
44

55
val phoneNumbers: List<PhoneNumber> = emptyList(),
6-
val emailAddresses: List<String> = emptyList()
6+
val emailAddresses: List<String> = emptyList(),
77

88
)

src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/hmpps/Person.kt

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ data class Person(
1717
val identifiers: Identifiers = Identifiers(),
1818
val pncId: String? = null,
1919
val hmppsId: String? = null,
20-
val contactDetails: ContactDetailsWithEmailAndPhone? = null
20+
val contactDetails: ContactDetailsWithEmailAndPhone? = null,
2121
)
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package uk.gov.justice.digital.hmpps.hmppsintegrationapi.models.hmpps
22

3-
data class PhoneNumber (
3+
data class PhoneNumber(
44
val number: String? = null,
5-
val type: String? = null
5+
val type: String? = null,
66
)

src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/probationoffendersearch/Offender.kt

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ data class Offender(
3030
),
3131
pncId = otherIds.pncNumber,
3232
hmppsId = otherIds.pncNumber,
33-
contactDetails = this.contactDetails?.toContactdetails()
33+
contactDetails = this.contactDetails?.toContactdetails(),
3434
)
3535
}

0 commit comments

Comments
 (0)