Add missing `@return` PHPDoc to __sleep() function
authorDerick Alangi <alangiderick@gmail.com>
Thu, 24 Jan 2019 20:17:47 +0000 (21:17 +0100)
committerDerick Alangi <alangiderick@gmail.com>
Thu, 24 Jan 2019 20:17:47 +0000 (21:17 +0100)
Change-Id: I97547938041264440af621694f08a067f1d0791f

includes/Status.php

index 877d221..f880663 100644 (file)
@@ -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 ) );