Skip to content

Commit 8516af1

Browse files
authored
docs: Remove array params on function alwaysForce (#1028)
1 parent 0017f33 commit 8516af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ attributes provided:
718718
->instantiateWith(Instantiator::withConstructor()->allowExtra())
719719

720720
// force set "title" and "body" when instantiating
721-
->instantiateWith(Instantiator::withConstructor()->alwaysForce(['title', 'body']))
721+
->instantiateWith(Instantiator::withConstructor()->alwaysForce('title', 'body'))
722722

723723
// never use setters, always "force set" properties (even private/protected, does not use setter)
724724
->instantiateWith(Instantiator::withConstructor()->alwaysForce())

0 commit comments

Comments
 (0)