From: Derick Alangi Date: Thu, 24 Jan 2019 20:17:47 +0000 (+0100) Subject: Add missing `@return` PHPDoc to __sleep() function X-Git-Tag: 1.34.0-rc.0~3008^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%22%20.%20%22?a=commitdiff_plain;h=f25ff9ff9a8e2e7fcc64c4e4f7facd8dc3e0ba9d;p=lhc%2Fweb%2Fwiklou.git Add missing `@return` PHPDoc to __sleep() function Change-Id: I97547938041264440af621694f08a067f1d0791f --- 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 ) );