Fix API maniphest.update in PHP 8.0.0+
Summary:
Fix this crash in PHP 8.0.0+:
{
"error": "Error",
"errorMessage": "Error: <maniphest.update> Unknown named parameter $comments",
"response": null
}
Thanks taavi for reporting and mainframe98 for fast troubleshooting.
Closes T16467
Test Plan:
echo '{
"id": 1,
"comments": "Test comment creation on maniphest.update on task T1"
}' | arc call-conduit --conduit-uri http://phorge.localhost/ -- maniphest.update
Reviewers: taavi, mainframe98, O1 Blessed Committers, avivey
Reviewed By: O1 Blessed Committers, avivey
Subscribers: avivey, tobiaswiese, Matthew, Cigaryno
Maniphest Tasks: T16467
Differential Revision: https://we.phorge.it/D26697