Fix PhanPluginRedundantAssignment

This commit is contained in:
MDW
2024-03-13 00:29:17 +01:00
parent d33e0a69ca
commit 509357d632

View File

@@ -3,6 +3,7 @@
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -207,7 +208,7 @@ class CSMSFile
// Send sms method not correctly defined
// --------------------------------------
$this->error = 'Bad value for MAIN_SMS_SENDMODE constant';
$res = false;
$res = false; // @phan-suppress-current-line PhanPluginRedundantAssignment
}
} else {
$this->error = 'No sms sent. Feature is disabled by option MAIN_DISABLE_ALL_SMS';