dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf78811
)
Add missing `@return` PHPDoc to __sleep() function
author
Derick Alangi
<alangiderick@gmail.com>
Thu, 24 Jan 2019 20:17:47 +0000
(21:17 +0100)
committer
Derick Alangi
<alangiderick@gmail.com>
Thu, 24 Jan 2019 20:17:47 +0000
(21:17 +0100)
Change-Id: I97547938041264440af621694f08a067f1d0791f
includes/Status.php
patch
|
blob
|
history
diff --git
a/includes/Status.php
b/includes/Status.php
index
877d221
..
f880663
100644
(file)
--- 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 ) );