Update lib/contracts/contribution.js

Co-Authored-By: bumi <hello@michaelbumann.com>
This commit is contained in:
Basti 2019-05-01 18:06:43 +00:00 committed by GitHub
parent 1199b053fe
commit d2198dca61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ class Contribution extends Record {
}
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);
}
}