Exception is never thrown in the getConnection() method
[lhc/web/wiklou.git] / includes / watcheditem / WatchedItemQueryService.php
index 95b4cb4..a85e7e8 100644 (file)
@@ -88,7 +88,6 @@ class WatchedItemQueryService {
 
        /**
         * @return IDatabase
-        * @throws MWException
         */
        private function getConnection() {
                return $this->loadBalancer->getConnectionRef( DB_REPLICA, [ 'watchlist' ] );