Docs: Add missing article in setExpectedDeprecated()
DocBlock.
See #46543. git-svn-id: https://develop.svn.wordpress.org/trunk@44923 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aaf266db42
commit
6d2f78d9ba
@ -508,7 +508,7 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Framework_TestCase {
|
|||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*
|
*
|
||||||
* @param string $deprecated Name of the function, method, class, or argument that is deprecated. Must match
|
* @param string $deprecated Name of the function, method, class, or argument that is deprecated. Must match
|
||||||
* first parameter of the `_deprecated_function()` or `_deprecated_argument()` call.
|
* the first parameter of the `_deprecated_function()` or `_deprecated_argument()` call.
|
||||||
*/
|
*/
|
||||||
public function setExpectedDeprecated( $deprecated ) {
|
public function setExpectedDeprecated( $deprecated ) {
|
||||||
$this->expected_deprecated[] = $deprecated;
|
$this->expected_deprecated[] = $deprecated;
|
||||||
@ -519,8 +519,8 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Framework_TestCase {
|
|||||||
*
|
*
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
*
|
*
|
||||||
* @param string $doing_it_wrong Name of the function, method, or class that appears in the first argument of the
|
* @param string $doing_it_wrong Name of the function, method, or class that appears in the first argument
|
||||||
* source `_doing_it_wrong()` call.
|
* of the source `_doing_it_wrong()` call.
|
||||||
*/
|
*/
|
||||||
public function setExpectedIncorrectUsage( $doing_it_wrong ) {
|
public function setExpectedIncorrectUsage( $doing_it_wrong ) {
|
||||||
$this->expected_doing_it_wrong[] = $doing_it_wrong;
|
$this->expected_doing_it_wrong[] = $doing_it_wrong;
|
||||||
|
Loading…
Reference in New Issue
Block a user