Add missing @throws in Importers
authorWMDE-Fisch <christoph.jauera@wikimedia.de>
Tue, 14 Nov 2017 10:32:59 +0000 (11:32 +0100)
committerAddshore <addshorewiki@gmail.com>
Wed, 6 Dec 2017 12:38:08 +0000 (12:38 +0000)
Change-Id: I02760e59d73f4278cca87483ab4578b6e76b2324

includes/import/WikiImporter.php
maintenance/importDump.php

index a1f7e0c..822893c 100644 (file)
@@ -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 ) {
index 206c7ee..cc0daa1 100644 (file)
@@ -139,6 +139,7 @@ TEXT
 
        /**
         * @param Title|Revision $obj
+        * @throws MWException
         * @return bool
         */
        private function skippedNamespace( $obj ) {