Remove unneded @throws MWException

Echo can throw it but it should not be caught.

Bug: T328220
Change-Id: I0f91d6dd98f1f65de49d5f89fc2c80ba1a99ca16
This commit is contained in:
Daimona Eaytoy 2023-06-07 18:50:52 +02:00
parent 784fbe5777
commit 22ccc90c75

View file

@ -9,7 +9,6 @@ use Flow\Conversion\Utils;
use Flow\Exception\FlowException;
use Flow\Model\PostRevision;
use Flow\Model\UUID;
use MWException;
use Title;
use User;
use Wikimedia\ParamValidator\ParamValidator;
@ -143,7 +142,6 @@ class ApiFlowThank extends ApiThank {
* @param string $postTextExcerpt
* @param Title $topicTitle
* @throws FlowException
* @throws MWException
*/
private function sendThanks(
User $user,