Updates the code following an analysis using Psalm
More specifically, The intent of this commit is to update the code following a static analysis using Psalm. The docblock comments have been updated to include more of the parameter types and class property types used throughout the classes. I'm not sure of the types of all parameters and properties yet, as I need to learn more about the Authy API, but I've updated
them where I've ascertained the correct types to add. The change also adds PHP's cURL extension as a required project extension, because the code makes use of two cURL constants.
Contributing to Twilio
All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.
[X] I acknowledge that all my contributions will be made under the project's license.
This PR:
More specifically, The intent of this commit is to update the code following a static analysis using Psalm. The docblock comments have been updated to include more of the parameter types and class property types used throughout the classes. I'm not sure of the types of all parameters and properties yet, as I need to learn more about the Authy API, but I've updated them where I've ascertained the correct types to add. The change also adds PHP's cURL extension as a required project extension, because the code makes use of two cURL constants.
Contributing to Twilio