dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix order of @var parameter in PHP
[lhc/web/wiklou.git]
/
includes
/
diff
/
DifferenceEngine.php
diff --git
a/includes/diff/DifferenceEngine.php
b/includes/diff/DifferenceEngine.php
index
8e2b96d
..
833bc69
100644
(file)
--- a/
includes/diff/DifferenceEngine.php
+++ b/
includes/diff/DifferenceEngine.php
@@
-250,7
+250,7
@@
class DifferenceEngine extends ContextSource {
$slotContents = $this->getSlotContents();
$this->slotDiffRenderers = array_map( function ( $contents ) {
$slotContents = $this->getSlotContents();
$this->slotDiffRenderers = array_map( function ( $contents ) {
- /** @var
$content C
ontent */
+ /** @var
Content $c
ontent */
$content = $contents['new'] ?: $contents['old'];
return $content->getContentHandler()->getSlotDiffRenderer( $this->getContext() );
}, $slotContents );
$content = $contents['new'] ?: $contents['old'];
return $content->getContentHandler()->getSlotDiffRenderer( $this->getContext() );
}, $slotContents );
@@
-1024,7
+1024,7
@@
class DifferenceEngine extends ContextSource {
// Cacheable?
$key = false;
// Cacheable?
$key = false;
- $cache =
ObjectCache::getMainWANInstanc
e();
+ $cache =
MediaWikiServices::getInstance()->getMainWANObjectCach
e();
if ( $this->mOldid && $this->mNewid ) {
// Check if subclass is still using the old way
// for backwards-compatibility
if ( $this->mOldid && $this->mNewid ) {
// Check if subclass is still using the old way
// for backwards-compatibility