Docs: Add a @since note about new parameters with the spread operator added to function signatures.

Props jrf.
See #47678.

git-svn-id: https://develop.svn.wordpress.org/trunk@46451 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-10-09 04:26:22 +00:00
parent d4e9608dec
commit 8ec0a21161
17 changed files with 66 additions and 3 deletions

View File

@@ -899,6 +899,8 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Framework_TestCase {
*
* @since 2.5.0
* @since 3.8.0 Moved from `Tests_Query_Conditionals` to `WP_UnitTestCase`.
* @since 5.3.0 Formalized the existing `...$prop` parameter by adding it
* to the function signature.
*
* @param string ...$prop Any number of WP_Query properties that are expected to be true for the current request.
*/