Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit 355b213

Browse files
f3athtobyzerner
authored andcommitted
Document:MEDIA_TYPE (#118)
* Document:MEDIA_TYPE As proposed in the comments to #117 * Update Document.php
1 parent 66962f9 commit 355b213

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Document.php

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ class Document implements JsonSerializable
1818
use LinksTrait;
1919
use MetaTrait;
2020

21+
const MEDIA_TYPE = 'application/vnd.api+json';
22+
2123
/**
2224
* The included array.
2325
*

0 commit comments

Comments
 (0)