X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FEditPage.php;h=9182300fcf35643a762a98e7cc27fbdd5ed5889e;hb=bd980451109fb588c30aa5059ddada5ea4f6492e;hp=d047f6e2f884930d953676aa90566f601e54c176;hpb=88d9cc22d31b526b309c163b62b1899c813c63aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/EditPage.php b/includes/EditPage.php index d047f6e2f8..9182300fcf 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1156,7 +1156,7 @@ class EditPage { $out->showErrorPage( 'modeleditnotsupported-title', 'modeleditnotsupported-text', - $modelName + [ $modelName ] ); return false; } @@ -1188,7 +1188,7 @@ class EditPage { /** * @param Content|null $def_content The default value to return * - * @return Content|null Content on success, $def_content for invalid sections + * @return Content|false|null Content on success, $def_content for invalid sections * * @since 1.21 */