mirror of https://github.com/usbharu/Hideout.git
style: 名前付き引数を使用するように
This commit is contained in:
parent
2ba2b455da
commit
3a58e72e0f
|
@ -9,7 +9,11 @@ open class Follow : Object {
|
|||
name: String,
|
||||
`object`: String?,
|
||||
actor: String?
|
||||
) : super(add(type, "Follow"), name, actor) {
|
||||
) : super(
|
||||
type = add(type, "Follow"),
|
||||
name = name,
|
||||
actor = actor
|
||||
) {
|
||||
this.`object` = `object`
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue