Otherwise, an empty array is represented as [] in the JSON request body, while the Cluster API expects an empty dict ({}). This is achieved by using a class.
Please open another PR if there is a better solution.
To do:
Fix styling
Apply to other dicts (such as Passenger app environment variables)
Changes
See above.
Checks
[x] The version constant is updated in Client.php
[x] The changelog is updated (when applicable)
[x] The supported Cluster API version is updated in the README (when applicable)
Otherwise, an empty array is represented as
[]
in the JSON request body, while the Cluster API expects an empty dict ({}
). This is achieved by using a class.Please open another PR if there is a better solution.
To do:
Changes
See above.
Checks
Client.php