Skip to content

Commit

Permalink
Add missing doxygen documentation in phone module (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkktoria authored Jan 27, 2024
1 parent 59d5337 commit 447b3a9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions include/faker-cxx/Phone.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,38 @@ class Phone
* @endcode
*/
static std::string number(std::optional<std::string> = std::nullopt);

/**
* @brief Returns a random phone platform.
*
* @returns Random phone platform.
*
* @code
* Phone::platform() // "iOS"
* @endcode
*/
static std::string platform();

/**
* @brief Returns a random phone model.
*
* @returns Random phone model.
*
* @code
* Phone::modelName() // "Samsung Galaxy S22"
* @endcode
*/
static std::string modelName();

/**
* @brief Returns a random phone manufacturer.
*
* @returns Random phone manufacturer.
*
* @code
* Phone::manufacturer() // "Sony"
* @endcode
*/
static std::string manufacturer();

/**
Expand Down

0 comments on commit 447b3a9

Please sign in to comment.