Closed
Description
Hello,
Using the latest version of the SDK, 6.18, there is an error on prod environment.
PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of DocuSign\eSign\Model\EnvelopeTemplateDefinition::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/docusign/esign-client/src/Model/EnvelopeTemplateDefinition.php:564
It seems like this issue already happened and was fixed in 6.7.1: #165
But I think that the Model EnvelopeTemplateDefinition was forgotten in the PR because adding the attribute #[\ReturnTypeWillChange] to the methods solve the issue:
- offsetSet($offset, $value)
- offsetUnset($offset)
- offsetExists($offset)
- offsetGet($offset)
Metadata
Metadata
Assignees
Labels
No labels