Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek authored Dec 7, 2023
1 parent e72e021 commit 56c088d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Field/FileField.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected function init(): void
}

$this->reference = HasOneSql::assertInstanceOf($this->getOwner()->hasOne($this->shortName, [
'type' => $this->fileModel->getField('token')->type,
'type' => $this->fileModel->getField('token')->type, // TODO imply in https://github.com/atk4/data/blob/develop/src/Reference/HasOne.php#L27
'model' => $this->fileModel,
'theirField' => 'token',
]));
Expand Down

0 comments on commit 56c088d

Please sign in to comment.