From f25ff9ff9a8e2e7fcc64c4e4f7facd8dc3e0ba9d Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Thu, 24 Jan 2019 21:17:47 +0100 Subject: [PATCH] Add missing `@return` PHPDoc to __sleep() function Change-Id: I97547938041264440af621694f08a067f1d0791f --- includes/Status.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Status.php b/includes/Status.php index 877d2218a2..f880663a06 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -388,6 +388,7 @@ class Status extends StatusValue { /** * Don't save the callback when serializing, because Closures can't be * serialized and we're going to clear it in __wakeup anyway. + * @return array */ function __sleep() { $keys = array_keys( get_object_vars( $this ) ); -- 2.20.1