File tree Expand file tree Collapse file tree 4 files changed +23
-12
lines changed
Expand file tree Collapse file tree 4 files changed +23
-12
lines changed Original file line number Diff line number Diff line change 1+ Significance: patch
2+ Type: changed
3+
4+ Improved compatibility by making the 'implements' field always use multiple entries.
Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ class Blog extends Actor {
4141 protected $ generator = array (
4242 'type ' => 'Application ' ,
4343 'implements ' => array (
44- 'href ' => 'https://datatracker.ietf.org/doc/html/rfc9421 ' ,
45- 'name ' => 'RFC-9421: HTTP Message Signatures ' ,
44+ array (
45+ 'href ' => 'https://datatracker.ietf.org/doc/html/rfc9421 ' ,
46+ 'name ' => 'RFC-9421: HTTP Message Signatures ' ,
47+ ),
4648 ),
4749 );
4850
Original file line number Diff line number Diff line change @@ -51,8 +51,10 @@ class User extends Actor {
5151 protected $ generator = array (
5252 'type ' => 'Application ' ,
5353 'implements ' => array (
54- 'href ' => 'https://datatracker.ietf.org/doc/html/rfc9421 ' ,
55- 'name ' => 'RFC-9421: HTTP Message Signatures ' ,
54+ array (
55+ 'href ' => 'https://datatracker.ietf.org/doc/html/rfc9421 ' ,
56+ 'name ' => 'RFC-9421: HTTP Message Signatures ' ,
57+ ),
5658 ),
5759 );
5860
Original file line number Diff line number Diff line change @@ -349,14 +349,17 @@ public function get_item_schema() {
349349 'type ' => 'string ' ,
350350 ),
351351 'implements ' => array (
352- 'type ' => 'object ' ,
353- 'properties ' => array (
354- 'href ' => array (
355- 'type ' => 'string ' ,
356- 'format ' => 'uri ' ,
357- ),
358- 'name ' => array (
359- 'type ' => 'string ' ,
352+ 'type ' => 'array ' ,
353+ 'items ' => array (
354+ 'type ' => 'object ' ,
355+ 'properties ' => array (
356+ 'href ' => array (
357+ 'type ' => 'string ' ,
358+ 'format ' => 'uri ' ,
359+ ),
360+ 'name ' => array (
361+ 'type ' => 'string ' ,
362+ ),
360363 ),
361364 ),
362365 ),
You can’t perform that action at this time.
0 commit comments