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:
Scott Taylor
2015-01-10 06:53:48 +00:00
parent cb85e15f06
commit 349e5cb318
13 changed files with 4 additions and 20 deletions
-1
View File
@@ -2171,7 +2171,6 @@ class WP_Rewrite {
* @since 1.5.0
* @access public
*
* @return WP_Rewrite
*/
public function __construct() {
$this->init();