PHPStorm noinspection comment

(variable is used in prepared statement)
This commit is contained in:
Steffen Schröder 2013-12-14 23:32:01 +01:00
parent 5a03deee5b
commit d29489a4ce

View File

@ -86,7 +86,8 @@ class AuthenticationManager {
$adminStatement->bind_param('si', $login, $xAdminLevel);
$success = true;
foreach ($xAdmins as $xAdmin) {
$login = (string) $xAdmin;
/** @noinspection PhpUnusedLocalVariableInspection */
$login = (string) $xAdmin;
$adminStatement->execute();
if ($adminStatement->error) {
trigger_error($adminStatement->error);