Make WordPress Core


Ignore:
Timestamp:
12/18/2019 12:17:54 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Various documentation fixes for unit test factories.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-thing.php

    r46830 r46985  
    3434         * Updates an existing object.
    3535         *
    36          * @param int   $object The object id.
     36         * @param int   $object The object ID.
    3737         * @param array $fields The values to update.
    3838         *
     
    9191         * Retrieves an object by ID.
    9292         *
    93          * @param int $object_id The object id.
     93         * @param int $object_id The object ID.
    9494         *
    9595         * @return mixed The object. Can be anything.
     
    115115
    116116        /**
    117          * Combines the given argument with the generation_definitions (defaults) and applies
     117         * Combines the given arguments with the generation_definitions (defaults) and applies
    118118         * possibly set callbacks on it.
    119119         *
Note: See TracChangeset for help on using the changeset viewer.