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
Merge "Perform a permission check on the title when changing the page language"
[lhc/web/wiklou.git]
/
includes
/
content
/
WikitextContent.php
diff --git
a/includes/content/WikitextContent.php
b/includes/content/WikitextContent.php
index
9296728
..
942390f
100644
(file)
--- a/
includes/content/WikitextContent.php
+++ b/
includes/content/WikitextContent.php
@@
-38,7
+38,7
@@
class WikitextContent extends TextContent {
}
/**
}
/**
- * @param string|
number
$sectionId
+ * @param string|
int
$sectionId
*
* @return Content|bool|null
*
*
* @return Content|bool|null
*
@@
-58,7
+58,7
@@
class WikitextContent extends TextContent {
}
/**
}
/**
- * @param string|
number
|null|bool $sectionId
+ * @param string|
int
|null|bool $sectionId
* @param Content $with
* @param string $sectionTitle
*
* @param Content $with
* @param string $sectionTitle
*
@@
-68,7
+68,6
@@
class WikitextContent extends TextContent {
* @see Content::replaceSection()
*/
public function replaceSection( $sectionId, Content $with, $sectionTitle = '' ) {
* @see Content::replaceSection()
*/
public function replaceSection( $sectionId, Content $with, $sectionTitle = '' ) {
-
$myModelId = $this->getModel();
$sectionModelId = $with->getModel();
$myModelId = $this->getModel();
$sectionModelId = $with->getModel();