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:
9f326f5
)
Use new static instead of new self
author
Kunal Mehta
<legoktm@gmail.com>
Sat, 9 Aug 2014 13:15:46 +0000
(14:15 +0100)
committer
Reedy
<reedy@wikimedia.org>
Sat, 9 Aug 2014 13:18:05 +0000
(13:18 +0000)
See code review on I957d6bda626b8e749a99717b5c89c4db38a36bf8
Change-Id: I79e4a987636509515df044da7a6951d3e4b4f824
includes/content/JSONContent.php
patch
|
blob
|
history
diff --git
a/includes/content/JSONContent.php
b/includes/content/JSONContent.php
index
f55467f
..
377d675
100644
(file)
--- a/
includes/content/JSONContent.php
+++ b/
includes/content/JSONContent.php
@@
-55,7
+55,7
@@
class JSONContent extends TextContent {
* @return JSONContent
*/
public function preSaveTransform( Title $title, User $user, ParserOptions $popts ) {
- return new s
elf
( $this->beautifyJSON() );
+ return new s
tatic
( $this->beautifyJSON() );
}
/**