Skip to content

Commit

Permalink
Update Invoke Docs
Browse files Browse the repository at this point in the history
Make clear that the arguments can be either a struct or an array.
  • Loading branch information
pfreitag committed Feb 8, 2018
1 parent ee0cc00 commit 058cbec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/en/invoke.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"params": [
{"name":"instance","description":"Name or instance of a CFC or an instance of a Java, .NET, COM or CORBA object","required":true,"default":"","type":"string","values":[]},
{"name":"methodname","description":"The name of the method to invoke.","required":true,"default":"","type":"string","values":[]},
{"name":"arguments","description":"A struct of arguments to pass into the method.","required":false,"default":"","type":"struct","values":[]}

{"name":"arguments","description":"An array of positional arguments or a struct of named arguments to pass into the method.","required":false,"default":"","type":"any","values":[]}
],
"engines": {
"coldfusion": {"minimum_version":"10", "notes":"", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/invoke.html"},
Expand Down

0 comments on commit 058cbec

Please sign in to comment.