Skip to content

Commit d45846a

Browse files
committed
change example variable from $hal to $json for jsonld example
1 parent ed7f233 commit d45846a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/json-ld-view/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ use MixerApi\JsonLdView\JsonSerializer;
344344
$json = (new JsonSerializer($data))->asJson(JSON_PRETTY_PRINT); // argument is optional
345345

346346
# array
347-
$hal = (new JsonSerializer($data))->getData();
347+
$json = (new JsonSerializer($data))->getData();
348348

349349
# json-ld with pagination meta data
350350
use Cake\Http\ServerRequest;

0 commit comments

Comments
 (0)