Skip to content

Commit

Permalink
Merge pull request #7 from szepeviktor/patch-1
Browse files Browse the repository at this point in the history
Add missing quote in JSON Expressions example
  • Loading branch information
Ocramius committed Aug 1, 2020
2 parents af6c398 + 1fae08c commit 185ec9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/advanced.md
Expand Up @@ -100,7 +100,7 @@ As an example:
$data = [
'onClick' => new Laminas\Json\Expr(
'function() {'
. 'alert("I am a valid JavaScript callback created by Laminas\\Json");
. 'alert("I am a valid JavaScript callback created by Laminas\\Json");'
. '}'
),
'other' => 'no expression',
Expand Down

0 comments on commit 185ec9f

Please sign in to comment.