- Timestamp:
- 12/28/2022 02:07:16 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-user.php
r46985 r55019 7 7 * as a way to indicate expected return values from the given factory methods. 8 8 * 9 * @method int create( $args = array(), $generation_definitions = null )10 * @method WP_User create_and_get( $args = array(), $generation_definitions = null )11 * @method int[] create_many( $count, $args = array(), $generation_definitions = null )9 * @method int|WP_Error create( $args = array(), $generation_definitions = null ) 10 * @method WP_User|WP_Error create_and_get( $args = array(), $generation_definitions = null ) 11 * @method (int|WP_Error)[] create_many( $count, $args = array(), $generation_definitions = null ) 12 12 */ 13 13 class WP_UnitTest_Factory_For_User extends WP_UnitTest_Factory_For_Thing { … … 25 25 * Inserts an user. 26 26 * 27 * @since UT (3.7.0) 28 * 27 29 * @param array $args The user data to insert. 28 30 * … … 35 37 /** 36 38 * Updates the user data. 39 * 40 * @since UT (3.7.0) 37 41 * 38 42 * @param int $user_id ID of the user to update. … … 49 53 * Retrieves the user for a given ID. 50 54 * 55 * @since UT (3.7.0) 56 * 51 57 * @param int $user_id ID of the user ID to retrieve. 52 58 *
Note: See TracChangeset
for help on using the changeset viewer.