API: initialize responses explicitly
commit58ae4747de65e434e2a4f2d10822e363198c89b8
authorAndreas Gohr <andi@splitbrain.org>
Fri, 5 Jan 2024 17:45:52 +0000 (5 18:45 +0100)
committerAndreas Gohr <andi@splitbrain.org>
Sun, 7 Jan 2024 12:41:19 +0000 (7 13:41 +0100)
tree0bfbab20c0eccb25674038e5ee237f00694c1c6b
parentb433b69e7dcd75265f237b6637ab5f34a7c40a74
API: initialize responses explicitly

Instead of passing unknown arrays, explicit parameters are passed.
Revision handling should now work correctly since we can pass revision=0
but a mtime.
inc/Remote/ApiCore.php
inc/Remote/Response/ApiResponse.php
inc/Remote/Response/Link.php
inc/Remote/Response/Media.php
inc/Remote/Response/MediaChange.php [new file with mode: 0644]
inc/Remote/Response/MediaRevision.php [deleted file]
inc/Remote/Response/Page.php
inc/Remote/Response/PageChange.php [new file with mode: 0644]
inc/Remote/Response/PageHit.php
inc/Remote/Response/PageRevision.php [deleted file]
inc/Remote/Response/User.php