You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
If this method is called before setTransfers, it will trigger a warning.
How to fix?
Both setHolder and setTransfers need to check for the existence of $this->data->transferInstrument - if it doesn't exist, it is instantiated. (Otherwise, it would override the existing data)
The text was updated successfully, but these errors were encountered:
In
setHolder
there's a reference totransferInstrument
, which is instantiated insetTransfers
.https://github.com/moip/moip-sdk-php/blob/8b13518d19cc4f8ab8285357f05c4d6d0d57da07/src/Resource/Transfers.php#L93-L100
If this method is called before
setTransfers
, it will trigger a warning.How to fix?
Both
setHolder
andsetTransfers
need to check for the existence of$this->data->transferInstrument
- if it doesn't exist, it is instantiated. (Otherwise, it would override the existing data)The text was updated successfully, but these errors were encountered: