mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Use void instead of null where appropriate when pipe-delimiting @return types. If a @return only contains void, remove it.
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32568 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -184,7 +184,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @param string $theme_dir Directory of the theme within the theme_root.
|
||||
* @param string $theme_root Theme root.
|
||||
* @param WP_Error|null $_child If this theme is a parent theme, the child may be passed for validation purposes.
|
||||
* @param WP_Error|void $_child If this theme is a parent theme, the child may be passed for validation purposes.
|
||||
*/
|
||||
public function __construct( $theme_dir, $theme_root, $_child = null ) {
|
||||
global $wp_theme_directories;
|
||||
|
||||
Reference in New Issue
Block a user