Make WordPress Core


Ignore:
Timestamp:
12/11/2019 03:46:51 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Docs: Correct @param formatting in SpeedTrapListener after [35226] and [45607].

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/speed-trap-listener.php

    r46586 r46882  
    5353     * @param PHPUnit_Framework_Test $test
    5454     * @param Exception              $e
    55      * @param float                   $time
     55     * @param float                  $time
    5656     */
    5757    public function addError( PHPUnit_Framework_Test $test, Exception $e, $time ) {
     
    7474     * @param PHPUnit_Framework_Test                 $test
    7575     * @param PHPUnit_Framework_AssertionFailedError $e
    76      * @param float                                   $time
     76     * @param float                                  $time
    7777     */
    7878    public function addFailure( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time ) {
     
    8484     * @param PHPUnit_Framework_Test $test
    8585     * @param Exception              $e
    86      * @param float                   $time
     86     * @param float                  $time
    8787     */
    8888    public function addIncompleteTest( PHPUnit_Framework_Test $test, Exception $e, $time ) {
     
    9494     * @param PHPUnit_Framework_Test $test
    9595     * @param Exception              $e
    96      * @param float                   $time
     96     * @param float                  $time
    9797     * @since  Method available since Release 4.0.0
    9898     */
     
    105105     * @param PHPUnit_Framework_Test $test
    106106     * @param Exception              $e
    107      * @param float                   $time
     107     * @param float                  $time
    108108     */
    109109    public function addSkippedTest( PHPUnit_Framework_Test $test, Exception $e, $time ) {
     
    122122     *
    123123     * @param PHPUnit_Framework_Test $test
    124      * @param float                   $time
     124     * @param float                  $time
    125125     */
    126126    public function endTest( PHPUnit_Framework_Test $test, $time ) {
     
    166166     * Whether the given test execution time is considered slow.
    167167     *
    168      * @param int $time          Test execution time in milliseconds
     168     * @param int $time           Test execution time in milliseconds
    169169     * @param int $slow_threshold Test execution time at which a test should be considered slow (milliseconds)
    170170     * @return bool
     
    178178     *
    179179     * @param PHPUnit_Framework_TestCase $test
    180      * @param int                         $time Test execution time in milliseconds
     180     * @param int                        $time Test execution time in milliseconds
    181181     */
    182182    protected function addSlowTest( PHPUnit_Framework_TestCase $test, $time ) {
Note: See TracChangeset for help on using the changeset viewer.