General: Remove discouraged @return void annotations.

Such `@return void` annotations must not be used in WordPress core's PHP code, except bundled themes, third-party libraries, and PHP compatibility shims.

Props isabel_brison, swissspidy.
Fixes #59619.


git-svn-id: https://develop.svn.wordpress.org/trunk@56943 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Felix Arntz
2023-10-16 15:15:14 +00:00
parent 14173bf50d
commit 1d006a0f57
9 changed files with 0 additions and 22 deletions
-2
View File
@@ -776,8 +776,6 @@ final class WP_Theme implements ArrayAccess {
* Perform reinitialization tasks.
*
* Prevents a callback from being injected during unserialization of an object.
*
* @return void
*/
public function __wakeup() {
if ( $this->parent && ! $this->parent instanceof self ) {