X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=includes%2FStatus.php;h=f880663a06d05ba0421950aa9d1058c24c90acac;hb=4d5a6ab95157f97cb8faffcfa7ce0b0eb0194900;hp=8cd72a59b55a2f9f993639e43c78ea3f7f144cac;hpb=1360a2884ac2ce44b1a81df9fef96b72853c845e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Status.php b/includes/Status.php index 8cd72a59b5..f880663a06 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -359,7 +359,7 @@ class Status extends StatusValue { /** * Returns a list of status messages of the given type (or all if false) * - * @note: this handles RawMessage poorly + * @note this handles RawMessage poorly * * @param string|bool $type * @return array @@ -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 ) );