From: WMDE-Fisch Date: Tue, 14 Nov 2017 10:32:59 +0000 (+0100) Subject: Add missing @throws in Importers X-Git-Tag: 1.31.0-rc.0~1275^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=a2f68a58cd006d449c79e79d27087a99fb4e1ad4;p=lhc%2Fweb%2Fwiklou.git Add missing @throws in Importers Change-Id: I02760e59d73f4278cca87483ab4578b6e76b2324 --- diff --git a/includes/import/WikiImporter.php b/includes/import/WikiImporter.php index a1f7e0c002..822893c583 100644 --- a/includes/import/WikiImporter.php +++ b/includes/import/WikiImporter.php @@ -546,6 +546,7 @@ class WikiImporter { /** * Primary entry point + * @throws Exception * @throws MWException * @return bool */ @@ -847,6 +848,7 @@ class WikiImporter { /** * @param array $pageInfo * @param array $revisionInfo + * @throws MWException * @return bool|mixed */ private function processRevision( $pageInfo, $revisionInfo ) { diff --git a/maintenance/importDump.php b/maintenance/importDump.php index 206c7ee6ae..cc0daa1542 100644 --- a/maintenance/importDump.php +++ b/maintenance/importDump.php @@ -139,6 +139,7 @@ TEXT /** * @param Title|Revision $obj + * @throws MWException * @return bool */ private function skippedNamespace( $obj ) {