X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fcontent%2FWikitextContent.php;h=942390f68ff8d35473bba2050172e02792cd26b5;hb=43a548a5c3436b5d07091b504bbf5eb80d1ed215;hp=92967282c465a512edc40c9c1c71f16c28bd8235;hpb=9210d39e6f093cf5091071c654dbb588fb761d51;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/WikitextContent.php b/includes/content/WikitextContent.php index 92967282c4..942390f68f 100644 --- 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 * @@ -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 * @@ -68,7 +68,6 @@ class WikitextContent extends TextContent { * @see Content::replaceSection() */ public function replaceSection( $sectionId, Content $with, $sectionTitle = '' ) { - $myModelId = $this->getModel(); $sectionModelId = $with->getModel();