mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +00:00
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value. Constructors do not have meaningful return values, anything that is returned from here is discarded.
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31126 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -676,7 +676,6 @@ class WP_Object_Cache {
|
||||
* Sets up object properties; PHP 5 style constructor
|
||||
*
|
||||
* @since 2.0.8
|
||||
* @return null|WP_Object_Cache If cache is disabled, returns null.
|
||||
*/
|
||||
public function __construct() {
|
||||
global $blog_id;
|
||||
|
||||
Reference in New Issue
Block a user