aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKonstantin Tarkus <[email protected]>2016-04-15 11:08:32 +0300
committerKonstantin Tarkus <[email protected]>2016-04-15 11:08:32 +0300
commit1af0935529fdb95e99bbf400863eec12f343b601 (patch)
treefee6d21e529a31ffe6df5b0c5694de3c749f958f /lib
parent649843ade73b730911506b8ecc6bf64bad10238c (diff)
downloadfaker-1af0935529fdb95e99bbf400863eec12f343b601.tar.xz
faker-1af0935529fdb95e99bbf400863eec12f343b601.zip
Clean up faker.commerce.department method
Remove "max" and "fixedAmount" arguments from the faker.commerce.department method
Diffstat (limited to 'lib')
-rw-r--r--lib/commerce.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/commerce.js b/lib/commerce.js
index e5a35ee7..306cf337 100644
--- a/lib/commerce.js
+++ b/lib/commerce.js
@@ -18,10 +18,8 @@ var Commerce = function (faker) {
* department
*
* @method faker.commerce.department
- * @param {number} max
- * @param {number} fixedAmount
*/
- self.department = function(max, fixedAmount) {
+ self.department = function() {
return faker.random.arrayElement(faker.definitions.commerce.department);
};