aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseniy Pavlenko <[email protected]>2018-05-02 12:54:34 +0300
committerGitHub <[email protected]>2018-05-02 12:54:34 +0300
commit4dd513f2cf153bd00b005bc95f35c03cd6195f0e (patch)
tree2d09b9565a98f2208abdf4e55cbddac1fb703d03
parent3a4bb358614c1e1f5d73f4df45c13a1a7aa013d7 (diff)
downloadfaker-4dd513f2cf153bd00b005bc95f35c03cd6195f0e.tar.xz
faker-4dd513f2cf153bd00b005bc95f35c03cd6195f0e.zip
Fix docJS for faker.phone namespace
-rw-r--r--lib/phone_number.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/phone_number.js b/lib/phone_number.js
index 651c7ada..2875a793 100644
--- a/lib/phone_number.js
+++ b/lib/phone_number.js
@@ -10,6 +10,7 @@ var Phone = function (faker) {
*
* @method faker.phone.phoneNumber
* @param {string} format
+ * @memberOf faker.phone
*/
self.phoneNumber = function (format) {
format = format || faker.phone.phoneFormats();
@@ -22,6 +23,7 @@ var Phone = function (faker) {
*
* @method faker.phone.phoneFormatsArrayIndex
* @param phoneFormatsArrayIndex
+ * @memberOf faker.phone
*/
self.phoneNumberFormat = function (phoneFormatsArrayIndex) {
phoneFormatsArrayIndex = phoneFormatsArrayIndex || 0;
@@ -41,4 +43,4 @@ var Phone = function (faker) {
};
-module['exports'] = Phone; \ No newline at end of file
+module['exports'] = Phone;