Skip to content

Commit 72a4965

Browse files
authored
[fix] Demo using containsMany (#1586)
1 parent 49c743b commit 72a4965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/special/multiline-containsmany.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ protected function init(): void
2121
parent::init();
2222

2323
$this->addField('name');
24-
$this->containsMany('Accounts', [Account::class]);
24+
$this->containsMany('Accounts', ['model' => [Account::class]]);
2525
}
2626
}
2727

0 commit comments

Comments
 (0)