Update lib/contracts/contribution.js
Co-Authored-By: bumi <hello@michaelbumann.com>
This commit is contained in:
parent
1199b053fe
commit
d2198dca61
@ -59,7 +59,7 @@ class Contribution extends Record {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addContribution () {
|
addContribution () {
|
||||||
deprecate('The method: `addContribution` is deprecated use `add` instead');
|
deprecate('The function `addContribution()` is deprecated and will be removed in the next major version. Use `add()` instead');
|
||||||
return this.add(...arguments);
|
return this.add(...arguments);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user