Skip to content

Commit

Permalink
Update expression-language.md
Browse files Browse the repository at this point in the history
Fix the typo in the examples for `call`
  • Loading branch information
murtukov authored Jul 20, 2019
1 parent a8e331a commit d321039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/definitions/expression-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Examples:
@=call("App\\Util\\Validator::email", ["arg1", 2])

# Calling a static method using an array callable
call(["App\\Util\\Validator", "email"], [args["email"]])
@=call(["App\\Util\\Validator", "email"], [args["email"]])

# Calling a function
@=call('array_merge', [args['array1'], args['array2']])
Expand Down

0 comments on commit d321039

Please sign in to comment.