mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 11:44:33 +00:00
Docs: Upgrade more parameters in docblocks to used typed array notation.
See #51800, #41756 git-svn-id: https://develop.svn.wordpress.org/trunk@49693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -247,7 +247,7 @@ function wp_cache_switch_to_blog( $blog_id ) {
|
||||
* @see WP_Object_Cache::add_global_groups()
|
||||
* @global WP_Object_Cache $wp_object_cache Object cache global instance.
|
||||
*
|
||||
* @param string|array $groups A group or an array of groups to add.
|
||||
* @param string|string[] $groups A group or an array of groups to add.
|
||||
*/
|
||||
function wp_cache_add_global_groups( $groups ) {
|
||||
global $wp_object_cache;
|
||||
@@ -260,7 +260,7 @@ function wp_cache_add_global_groups( $groups ) {
|
||||
*
|
||||
* @since 2.6.0
|
||||
*
|
||||
* @param string|array $groups A group or an array of groups to add.
|
||||
* @param string|string[] $groups A group or an array of groups to add.
|
||||
*/
|
||||
function wp_cache_add_non_persistent_groups( $groups ) {
|
||||
// Default cache doesn't persist so nothing to do here.
|
||||
|
||||
Reference in New Issue
Block a user