Deprecate old add* methods #118

Merged
fsmanuel merged 4 commits from deprecate/old-add-methods into master 2019-05-01 18:12:19 +00:00
Showing only changes of commit d2198dca61 - Show all commits

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);
}
}